Created for https://sourceforge.net/p/scintilla/bugs/1078/.
Per https://html.spec.whatwg.org/multipage/syntax.html#cdata-sections and https://www.w3.org/TR/xml11/#sec-cdata-sect, CDATA section is a literal block and only the closing ]]> is recognized. I think here are two fixes:
- Only interpret
<? inside CDATA section for SCLEX_PHPSCRIPT.
- Don't interpret
<? inside XML CDATA section (original bug), let SCLEX_HTML as is.
Created for https://sourceforge.net/p/scintilla/bugs/1078/.
Per https://html.spec.whatwg.org/multipage/syntax.html#cdata-sections and https://www.w3.org/TR/xml11/#sec-cdata-sect, CDATA section is a literal block and only the closing
]]>is recognized. I think here are two fixes:<?inside CDATA section forSCLEX_PHPSCRIPT.<?inside XML CDATA section (original bug), letSCLEX_HTMLas is.