mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2026-06-05 13:45:17 -04: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.