From f9a2c68eea800e91b3f99b6a653bba6a16d3cb85 Mon Sep 17 00:00:00 2001 From: Joannou Ng Date: Mon, 16 Aug 2010 06:22:50 +0800 Subject: [PATCH] Added hgroup to the folding start/stop markers --- Syntaxes/HTML 5.tmLanguage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Syntaxes/HTML 5.tmLanguage b/Syntaxes/HTML 5.tmLanguage index 49fced0..bef59a3 100644 --- a/Syntaxes/HTML 5.tmLanguage +++ b/Syntaxes/HTML 5.tmLanguage @@ -19,7 +19,7 @@ <!DOCTYPE|doctype|<(?i:html)|<\?(?i:php) foldingStartMarker (?x) - (<(?i:a|blockquote|head|body|table|thead|tbody|small|tfoot|tr|div|header|article|section|footer|aside|nav|select|fieldset|style|script|ul|ol|li|form|dl|p)\b.*?> + (<(?i:a|hgroup|blockquote|head|body|table|thead|tbody|small|tfoot|tr|div|header|article|section|footer|aside|nav|select|fieldset|style|script|ul|ol|li|form|dl|p)\b.*?> |<!--(?!.*--\s*>) |^<!--\ \#tminclude\ (?>.*?-->)$ |<\?(?:php)?.*\b(if|for(each)?|while)\b.+: @@ -28,7 +28,7 @@ ) foldingStopMarker (?x) - (</(?i:a|blockquote|head|body|table|thead|small|tbody|tfoot|tr|div|header|article|section|footer|aside|nav|select|fieldset|style|script|ul|ol|li|form|dl|p)> + (</(?i:a|hgroup|blockquote|head|body|table|thead|small|tbody|tfoot|tr|div|header|article|section|footer|aside|nav|select|fieldset|style|script|ul|ol|li|form|dl|p)> |^(?!.*?<!--).*?--\s*> |^<!--\ end\ tminclude\ -->$ |<\?(?:php)?.*\bend(if|for(each)?|while)\b