mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-02-04 18:20:35 +02:00
64ae20e932
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.