mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-11-17 12:03:10 -05: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.