Single quotes are not being escaped in XML CDATA

We’re using Android XML files and noticed that if the strings are enclosed in CDATA tag, the single quotes in translations are not being escaped. That makes our build crash.

Escaping quotes with backslashes is required by our system even for CDATA strings. Any workaround to solve it quickly?

6 Likes

Hi Diego,

Yes, we have a special script for such cases so you will get escaped quotes for all strings, even those included in CDATA tag. Can you please tell me your project ID? I will apply the mentioned script to it and you’ll get the correct strings on export :slight_smile:

2 Likes

@Yuliia Great, here it is: 452334

Hi Diego, it’s done already :slight_smile:

@Yuliia works great! Thanks a lot, you’re a star!

2 Likes