correct declaration quoting
This commit is contained in:
@ -211,6 +211,9 @@ identifier [A-z][A-z0-9]*
|
||||
[^\\](\"|\') {
|
||||
if (current_string_quote == yytext[1]) {
|
||||
ECHOC(yytext[0]);
|
||||
if (state_buffer == DECLARATION) {
|
||||
ECHOC(yytext[1]);
|
||||
}
|
||||
BEGIN state_buffer;
|
||||
} else {
|
||||
ECHO;
|
||||
|
@ -1,5 +1,5 @@
|
||||
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN
|
||||
"http://www.w3.org/TR/html4/strict.dtd;
|
||||
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
"http://www.w3.org/TR/html4/strict.dtd";
|
||||
html (lang: en) {
|
||||
head {
|
||||
meta (charset: UTF-8);
|
||||
|
Reference in New Issue
Block a user