Skip to content

Commit 9c0659f

Browse files
Renat Galimovrenatgalimov
authored andcommitted
Generate valid JS for multi-line setting
In v1.0.4, if you have a multi-line string in settings, it will generate an invalid JS. We use serde_json to ensure that the content we build it a valid JSON. We use a JS parser to check the generated JS in tests.
1 parent 64790e9 commit 9c0659f

3 files changed

Lines changed: 434 additions & 37 deletions

File tree

0 commit comments

Comments
 (0)