diff options
Diffstat (limited to 'kate/data/html.xml')
-rw-r--r-- | kate/data/html.xml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/kate/data/html.xml b/kate/data/html.xml index e2c46db44..756fa8f8e 100644 --- a/kate/data/html.xml +++ b/kate/data/html.xml @@ -4,7 +4,7 @@ <!ENTITY name "[A-Za-z_:][\w.:_-]*"> <!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);"> ]> -<language name="HTML" version="1.99" kateversion="2.4" section="Markup" extensions="*.htm;*.html;*.shtml;*.shtm" mimetype="text/html" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL" priority="10"> +<language name="HTML" version="2.0" kateversion="2.4" section="Markup" extensions="*.htm;*.html;*.shtml;*.shtm" mimetype="text/html" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL" priority="10"> <highlighting> <contexts> @@ -27,6 +27,15 @@ <RegExpr attribute="Element" context="El Open" String="<ul\b" insensitive="TRUE" beginRegion="ul" /> <RegExpr attribute="Element" context="El Open" String="<ol\b" insensitive="TRUE" beginRegion="ol" /> <RegExpr attribute="Element" context="El Open" String="<dl\b" insensitive="TRUE" beginRegion="dl" /> + <RegExpr attribute="Element" context="El Open" String="<article\b" insensitive="TRUE" beginRegion="article" /> + <RegExpr attribute="Element" context="El Open" String="<aside\b" insensitive="TRUE" beginRegion="aside" /> + <RegExpr attribute="Element" context="El Open" String="<details\b" insensitive="TRUE" beginRegion="details" /> + <RegExpr attribute="Element" context="El Open" String="<figure\b" insensitive="TRUE" beginRegion="figure" /> + <RegExpr attribute="Element" context="El Open" String="<footer\b" insensitive="TRUE" beginRegion="footer" /> + <RegExpr attribute="Element" context="El Open" String="<header\b" insensitive="TRUE" beginRegion="header" /> + <RegExpr attribute="Element" context="El Open" String="<main\b" insensitive="TRUE" beginRegion="main" /> + <RegExpr attribute="Element" context="El Open" String="<nav\b" insensitive="TRUE" beginRegion="nav" /> + <RegExpr attribute="Element" context="El Open" String="<section\b" insensitive="TRUE" beginRegion="section" /> <RegExpr attribute="Element" context="El Open" String="<&name;" /> <RegExpr attribute="Element" context="El Close" String="</pre\b" insensitive="TRUE" endRegion="pre" /> <RegExpr attribute="Element" context="El Close" String="</div\b" insensitive="TRUE" endRegion="div" /> @@ -34,6 +43,15 @@ <RegExpr attribute="Element" context="El Close" String="</ul\b" insensitive="TRUE" endRegion="ul" /> <RegExpr attribute="Element" context="El Close" String="</ol\b" insensitive="TRUE" endRegion="ol" /> <RegExpr attribute="Element" context="El Close" String="</dl\b" insensitive="TRUE" endRegion="dl" /> + <RegExpr attribute="Element" context="El Close" String="</article\b" insensitive="TRUE" endRegion="article" /> + <RegExpr attribute="Element" context="El Close" String="</aside\b" insensitive="TRUE" endRegion="aside" /> + <RegExpr attribute="Element" context="El Close" String="</details\b" insensitive="TRUE" endRegion="details" /> + <RegExpr attribute="Element" context="El Close" String="</figure\b" insensitive="TRUE" endRegion="figure" /> + <RegExpr attribute="Element" context="El Close" String="</footer\b" insensitive="TRUE" endRegion="footer" /> + <RegExpr attribute="Element" context="El Close" String="</header\b" insensitive="TRUE" endRegion="header" /> + <RegExpr attribute="Element" context="El Close" String="</main\b" insensitive="TRUE" endRegion="main" /> + <RegExpr attribute="Element" context="El Close" String="</nav\b" insensitive="TRUE" endRegion="nav" /> + <RegExpr attribute="Element" context="El Close" String="</section\b" insensitive="TRUE" endRegion="section" /> <RegExpr attribute="Element" context="El Close" String="</&name;" /> <!-- as long as kde gives DTDs the text/html mimetype--><IncludeRules context="FindDTDRules" /> <IncludeRules context="FindEntityRefs" /> |