Fix handling of <script> and <style>; do not minify JS and CSS code
This commit is contained in:
parent
53199880f5
commit
8553b09eb3
13 changed files with 102 additions and 593 deletions
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"COMMENT_END": "-->",
|
||||
"CSS_COMMENT_END": "*/",
|
||||
"SCRIPT_END": "</script",
|
||||
"STYLE_END": "</style",
|
||||
"INSTRUCTION_END": "?>"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,54 +1 @@
|
|||
{
|
||||
"js punctuators": {
|
||||
"value_type": "bool",
|
||||
"//": "Some values are missing here because they are manually handled in `process_js_script` function.",
|
||||
"values": {
|
||||
"!": "true",
|
||||
"!=": "true",
|
||||
"!==": "true",
|
||||
"%": "true",
|
||||
"%=": "true",
|
||||
"&": "true",
|
||||
"&&": "true",
|
||||
"&=": "true",
|
||||
"*": "true",
|
||||
"**": "true",
|
||||
"**=": "true",
|
||||
"*=": "true",
|
||||
"+": "true",
|
||||
"++": "true",
|
||||
"+=": "true",
|
||||
",": "true",
|
||||
"-": "true",
|
||||
"--": "true",
|
||||
"-=": "true",
|
||||
"...": "true",
|
||||
":": "true",
|
||||
";": "true",
|
||||
"<": "true",
|
||||
"<<": "true",
|
||||
"<<=": "true",
|
||||
"<=": "true",
|
||||
"=": "true",
|
||||
"==": "true",
|
||||
"===": "true",
|
||||
"=>": "true",
|
||||
">": "true",
|
||||
">=": "true",
|
||||
">>": "true",
|
||||
">>=": "true",
|
||||
">>>": "true",
|
||||
">>>=": "true",
|
||||
"?": "true",
|
||||
"[": "true",
|
||||
"^": "true",
|
||||
"^=": "true",
|
||||
"{": "true",
|
||||
"|": "true",
|
||||
"|=": "true",
|
||||
"||": "true",
|
||||
"}": "true",
|
||||
"~": "true"
|
||||
}
|
||||
}
|
||||
}
|
||||
{}
|
||||
|
|
|
|||
Reference in a new issue