moko-resources
moko-resources copied to clipboard
support CDATA
Using html in CDATA will break build, because of not consistent parsing.
actual
-
< produce <
-
> stays >
Expected
-
< produce <
-
> produce >
env
Just tried the latest release 0.18 with kotlin 1.6.10.
raw string resource:
<string name="test_translate_with_html"><![CDATA[This is a test<br>provided with an break row.]]></string>
parsed string in build
<string name="test_translate_with_html">This is a test<br>provided with an break row.</string>
Related to #167
ok it not break build. New content with '
has broken it.