mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2026-05-01 13:20:43 -04: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.