syntax/html.syntax in ultraviolet-0.10.0 vs syntax/html.syntax in ultraviolet-0.10.1

- old
+ new

@@ -181,10 +181,11 @@ foldingStartMarker: |- (?x) (<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b.*?> |<!--(?!.*--\s*>) |^<!--\ \#tminclude\ (?>.*?-->)$ + |<\?(?:php)?.*\b(if|for(each)?|while)\b.+: |\{\{?(if|foreach|capture|literal|foreach|php|section|strip) |\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/))) ) patterns: - name: meta.tag.any.html @@ -225,10 +226,11 @@ begin: <!-- end: --\s*> patterns: - name: invalid.illegal.bad-comments-or-CDATA.html match: -- + - include: "#embedded-code" - name: meta.tag.sgml.html captures: "0": name: punctuation.definition.tag.html begin: <! @@ -246,14 +248,11 @@ - name: constant.other.inline-data.html begin: \[CDATA\[ end: "]](?=>)" - name: invalid.illegal.bad-comments-or-CDATA.html match: (\s*)(?!--|>)\S(\s*) -- include: "#python" -- include: "#ruby" -- include: "#php" -- include: "#smarty" +- include: "#embedded-code" - name: source.css.embedded.html captures: "1": name: punctuation.definition.tag.html "2": @@ -354,9 +353,10 @@ foldingStopMarker: |- (?x) (</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)> |^(?!.*?<!--).*?--\s*> |^<!--\ end\ tminclude\ -->$ + |<\?(?:php)?.*\bend(if|for(each)?|while)\b |\{\{?/(if|foreach|capture|literal|foreach|php|section|strip) |^[^{]*\} ) keyEquivalent: ^~H