dotvvm icon indicating copy to clipboard operation
dotvvm copied to clipboard

Fix style / script parsing

Open exyi opened this issue 3 years ago • 0 comments

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

exyi avatar Aug 05 '22 10:08 exyi