Skip to content

Commit

Permalink
Merge pull request #15 from ExplodingCabbage/fix-syntax-autodetection
Browse files Browse the repository at this point in the history
Fix pasted HTML being detected as MJML
  • Loading branch information
iRyusa authored Mar 10, 2022
2 parents fd2a8c4 + a4fee1c commit 40e4408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MJML.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<string>mjml</string>
</array>
<key>firstLineMatch</key>
<string>&lt;!(?i:DOCTYPE)|&lt;(?i:mjml)|&lt;\?(?i:php)</string>
<string>&lt;(?i:mjml)</string>
<key>foldingStartMarker</key>
<string>(?x)
(&lt;(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)\b.*?&gt;
Expand Down

0 comments on commit 40e4408

Please sign in to comment.