This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
use this style definition in HTML editor: ======================= <style type="text/css"> Q:lang(en){ quotes: '<<' '>>' } </style> ======================= syntax error is shown, but it's correct style definition
Likely an effect of issue #99526 and #87014
I'll try to do similar fix as for <script/> tag - the HTML lexer ignores everything after <script> tag until it finds end of the script and make everyting one token. This should help to fix this problem. In the ideal world the fix of #87014 should fix this as well.
*** Issue 101616 has been marked as a duplicate of this issue. ***
special HTML characters (&, <, ...) are also marked as syntax error while they are used in CSS (even in comments) ----------------------- <style> /* company & spol. */ </style> -----------------------
fixed Checking in HTMLSyntaxSupport.java; /cvs/html/editor/lib/src/org/netbeans/editor/ext/html/HTMLSyntaxSupport.java,v <-- HTMLSyntaxSupport.java new revision: 1.38; previous revision: 1.37 done Checking in HTMLCompletionQuery.java; /cvs/html/editor/lib/src/org/netbeans/editor/ext/html/HTMLCompletionQuery.java,v <-- HTMLCompletionQuery.java new revision: 1.41; previous revision: 1.40 done
oops, wrong files - the fix is: Checking in api/html/lexer/HTMLTokenId.java; /cvs/html/lexer/src/org/netbeans/api/html/lexer/HTMLTokenId.java,v <-- HTMLTokenId.java new revision: 1.12; previous revision: 1.11 done Checking in lib/html/lexer/HTMLLexer.java; /cvs/html/lexer/src/org/netbeans/lib/html/lexer/HTMLLexer.java,v <-- HTMLLexer.java new revision: 1.23; previous revision: 1.22 done
verified. NetBeans IDE Dev (Build 200710310000)