Per conversation on l20n weekly call I updated all three parsers to support
unescaping of:
- opchar (" or ')
- \
- {{
- \uXXXX
The benefit of that is that I can serialize it back knowing that if those
characters (except of \uXXXX) are in the string, they must have been escaped.
So RCS will show no diff.
The exception is \uXXXX - at this point I have no way to tell if in the source
it was escaped or not and since I unescaped it in AST, I serialize unescaped.
I can add \t, \n and \r at any point (with the same limitation on
serialization).
zb.
_______________________________________________
tools-l10n mailing list
[email protected]
https://lists.mozilla.org/listinfo/tools-l10n