Aust1n46 / VentureChat

GNU General Public License v3.0
39 stars 49 forks source link

Escape JSON chars after parsing placeholders #60

Closed LOOHP closed 1 year ago

LOOHP commented 1 year ago

If a placeholder API placeholder returns a result with backslashes, they won't be escaped therefore producing malformed JSON. This PR makes the escaping happen before parsing them, instead of before.