dotvvm
dotvvm copied to clipboard
Fix style / script parsing
style and script tags have special treatment in HTML - they contain verbatim text, not any nested elements. We should parse the contents as an unencoded text, simply looking for end: <script\b (case insensitive).
We need to do this in a major version, since it's a breaking change (for example, someone may rely on {{resource:X}} working in script).
We should consider giving the same parsing exception to dot:InlineScript