GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 8d676465 authored by Jeffery To's avatar Jeffery To

Revert "html.lang: Require end tags for <style> and <script>"

This reverts commit 60022958.

Inline SVG can include style and script elements, and like other XML
elements they can be self-closed.
parent 9df96248
......@@ -297,6 +297,10 @@
<context sub-pattern="0" where="start" style-ref="tag"/>
<context ref="generic-tag"/>
<context end-parent="true" style-ref="tag">
<match>/&gt;</match>
</context>
<context id="style-code" end-parent="true">
<start>&gt;</start>
<end>&lt;/style\s*&gt;</end>
......@@ -316,6 +320,10 @@
<context sub-pattern="0" where="start" style-ref="tag"/>
<context ref="generic-tag"/>
<context end-parent="true" style-ref="tag">
<match>/&gt;</match>
</context>
<context id="js-code" end-parent="true">
<start>&gt;</start>
<end>&lt;/script\s*&gt;</end>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment