mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-03-11 14:09:34 +02:00
It was only escaping the first quote, all other quotes and other characters that require to be escaped (like line breaks) were not being escaped. JSON.stringify is a good function to handle this.