You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTMLLexer.g4 contains a rule HTML_CONDITIONAL_COMMENT: '<![' .*? ']>'; . The standard does not "officially" use a term such as a "conditional comment". Other sources of wisdom like Wikipedia know that conditional html comments were invented by Microsoft Internet Explorer and come in two kinds.
A hidden comment: <!--[ .*? ]--> is just a special case of a normal html comment with additional brackets.
On the other hand, Microsoft invented "revealed" (pseudo-)comments, which are not comments at all, but just plain invalid html like
Hi all.
HTMLLexer.g4 contains a rule
HTML_CONDITIONAL_COMMENT: '<![' .*? ']>';
. The standard does not "officially" use a term such as a "conditional comment". Other sources of wisdom like Wikipedia know that conditional html comments were invented by Microsoft Internet Explorer and come in two kinds.A hidden comment:
<!--[ .*? ]-->
is just a special case of a normal html comment with additional brackets.On the other hand, Microsoft invented "revealed" (pseudo-)comments, which are not comments at all, but just plain invalid html like
Is it ok that such syntax is part of the lexer?
The text was updated successfully, but these errors were encountered: