1
0
Fork 0
friendica_2020-09-1_sharedH.../library/Text_Highlighter/html.xml
2016-06-16 11:38:12 +02:00

34 lines
996 B
XML

<?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>