-
Notifications
You must be signed in to change notification settings - Fork 46
Bug: Stringlate adds additional escaping to Strings containing quotes #209
Comments
This escaping is necessary. The original string was indeed "wrong". |
Quotes inside a string should be escaped, but they have a different meaning if they wrap a string entirely (from beginning to end, e.g. Also it's a bit more complicated than that. HTML tags are taken into consideration so that attribute values are not escaped, e.g. |
My humble opinion? |
Is this a problem with the translation or the original strings though? Look. The big deal here is that the translated format is lost. To support what you're suggesting, we would need to somehow merge the original translation style with the translated one, prefer to preserve the already-translated one, and then to keep the same order as the original translation, apply only new strings to the original style… Very complex! "What strings are new" is not even implemented at all. See #205 for that. |
Example:
The text was updated successfully, but these errors were encountered: