erickok / pastt

PASTT: PHP Android String Translation Tool
GNU General Public License v3.0
27 stars 18 forks source link

Should escape ' to \' #6

Open erickok opened 11 years ago

erickok commented 11 years ago

Original issue from https://code.google.com/p/android-php-translator/issues/detail?id=34

Reported by sebastian.roth, Aug 22 (3 days ago) When translators enter the ' character, the tool should automatically escape them to \' when exporting the xml file.

erickok commented 11 years ago

I've tried to get that to work but I couldn't. Admittedly my PHP skills are a bit rusty, but I welcome patches to get this to work properly. A solution would have to work regardless of whether PHP is configured with 'magic quotes' on or off.