diff --git a/src/main/kotlin/one/mixin/handsaw/generate.kt b/src/main/kotlin/one/mixin/handsaw/generate.kt
index 78229d4..40e5ba5 100644
--- a/src/main/kotlin/one/mixin/handsaw/generate.kt
+++ b/src/main/kotlin/one/mixin/handsaw/generate.kt
@@ -317,9 +317,7 @@ class FlutterGenerator : Generator {
(androidPlaceHolder.findAll(value) + iosPlaceHolder.findAll(value)).forEachIndexed { index, matchResult ->
value = value.replace(matchResult.value, "{arg$index}")
}
- value.replace("\n", "\n")
- .replace(twoStar, "")
-
+ value = value.replace("\"", "\\\"")
value.trim()
}
diff --git a/src/test/resources/xmldir/en.xml b/src/test/resources/xmldir/en.xml
index c0ca72f..ed65d9c 100644
--- a/src/test/resources/xmldir/en.xml
+++ b/src/test/resources/xmldir/en.xml
@@ -17,4 +17,5 @@
test iOS authentication
test iOS AppStore
%d Hour
+ "test"
\ No newline at end of file