OpenSemanticLab / osw-python

GNU Affero General Public License v3.0
3 stars 2 forks source link

Catch line breaks while generating schema slot form template #45

Open simontaurus opened 9 months ago

simontaurus commented 9 months ago

when a json string contains a linebreak \n the schema generation with pybars fails with

Invalid control character at: ...

https://stackoverflow.com/questions/2392766/are-multi-line-strings-allowed-in-json