aboutsummaryrefslogtreecommitdiffstats
path: root/library/Text_Highlighter/html.xml
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-06-16 10:26:47 +0200
committerMario Vavti <mario@mariovavti.com>2016-06-16 10:26:47 +0200
commit28a7458e48d45bfa1e0a3df9ba0a5f7c13b3809b (patch)
tree7b13533527f03baee8d9cc4b339b535462ae7ada /library/Text_Highlighter/html.xml
parent05ed20d336c505520fde94e44789d817d136c6f4 (diff)
parentd457f11717da40f44d98eeba5b88e6f1e5636247 (diff)
downloadvolse-hubzilla-28a7458e48d45bfa1e0a3df9ba0a5f7c13b3809b.tar.gz
volse-hubzilla-28a7458e48d45bfa1e0a3df9ba0a5f7c13b3809b.tar.bz2
volse-hubzilla-28a7458e48d45bfa1e0a3df9ba0a5f7c13b3809b.zip
Merge branch 'dev' into sabre32
Diffstat (limited to 'library/Text_Highlighter/html.xml')
-rw-r--r--library/Text_Highlighter/html.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/library/Text_Highlighter/html.xml b/library/Text_Highlighter/html.xml
new file mode 100644
index 000000000..58d51fc5b
--- /dev/null
+++ b/library/Text_Highlighter/html.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<!-- $Id: html.xml,v 1.1 2007-06-03 02:35:28 ssttoo Exp $ -->
+
+<highlight lang="html" case="no">
+
+ <authors>
+ <author name="Andrey Demenev" email="demenev@gmail.com"/>
+ </authors>
+
+
+ <default innerClass="code" />
+
+ <region name="comment" delimClass="comment" innerClass="comment"
+ start="\&lt;!--" end="--\&gt;">
+ </region>
+
+ <region name="tag" delimClass="brackets" innerClass="code" start="\&lt;[\?\/]?" end="[\/\?]?\&gt;">
+ <contains block="tagname"/>
+ <contains region="param"/>
+ <contains block="paramname"/>
+ </region>
+
+ <block name="tagname" match="(?&lt;=[\&lt;\/?])[\w\-\:]+" innerClass="reserved" contained="yes"/>
+
+ <block name="paramname" match="[\w\-\:]+" innerClass="var" contained="yes"/>
+
+ <block name="entity" match="(&amp;)[\w\-\.]+;" innerClass="special" />
+
+ <region name="param" start="&quot;" end="&quot;" delimClass="quotes" innerClass="string" contained="yes">
+ <contains block="entity"/>
+ </region>
+
+</highlight>