Fix begin/end for markdown script/pre blocks

Fixes #33886
This commit is contained in:
Matt Bierner
2017-09-06 14:04:38 -07:00
parent 6fdf625645
commit bf84cbcc37
4 changed files with 349 additions and 4 deletions

View File

@@ -354,11 +354,11 @@
</dict>
</array>
<key>while</key>
<string>^\s*(?!&lt;/(script|style|pre)&gt;)</string>
<string>^(?!.*&lt;/(script|style|pre)&gt;)</string>
</dict>
</array>
<key>end</key>
<string>(?=&lt;/(script|style|pre)&gt;)</string>
<string>(?=.*&lt;/(script|style|pre)&gt;)</string>
</dict>
<dict>
<key>begin</key>