preserve case when inline_script (#2991)

fixes #2989
This commit is contained in:
Alex Lam S.L
2018-03-11 05:11:12 +08:00
committed by GitHub
parent 7e00a12741
commit fc6ebd04a5
4 changed files with 24 additions and 4 deletions

View File

@@ -837,8 +837,8 @@ can pass additional arguments that control the code output:
- `indent_start` (default `0`) -- prefix all lines by that many spaces
- `inline_script` (default `false`) -- escape the slash in occurrences of
`</script` in strings
- `inline_script` (default `true`) -- escape HTML comments and the slash in
occurrences of `</script>` in strings
- `keep_quoted_props` (default `false`) -- when turned on, prevents stripping
quotes from property names in object literals.