-
Notifications
You must be signed in to change notification settings - Fork 4
/
twig.xml
526 lines (475 loc) · 35.3 KB
/
twig.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd"
[
<!ENTITY name "[A-Za-z_:][\w.:_-]*">
<!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;);">
]>
<language name="Twig HTML Template" version="0.2" kateversion="2.4" section="Markup" extensions="*.twig;*.htm;*.html" mimetype="text/html,text/plain" author="Brice Maron (brice _At_ bmaron.net) ; Matthew Marshall ([email protected])" license="LGPL" priority="9">
<!--
Based off of the katepart html syntax highlighting by Wilbert Berendsen.
Email me with any bugs/suggestions/requests!
-->
<highlighting>
<list name="blocktags">
<item>autoescape</item>
<item>block</item>
<item>do</item>
<item>embed</item>
<item>extends</item>
<item>filter</item>
<item>flush</item>
<item>for</item>
<item>from</item>
<item>if</item>
<item>import</item>
<item>include</item>
<item>macro</item>
<item>sandbox</item>
<item>set</item>
<item>spaceless</item>
<item>use</item>
<item>verbatim</item>
</list>
<list name="endblocktags">
<item>endautoescape</item>
<item>endblock</item>
<item>enddo</item>
<item>endembed</item>
<item>endextends</item>
<item>endfilter</item>
<item>endflush</item>
<item>endfor</item>
<item>endfrom</item>
<item>endif</item>
<item>endimport</item>
<item>endinclude</item>
<item>endmacro</item>
<item>endsandbox</item>
<item>endset</item>
<item>endspaceless</item>
<item>enduse</item>
<item>endverbatim</item>
</list>
<contexts>
<context name="Start" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Mismatched Block Tag" context="#stay" String="\{%\s*end[a-z]+\s*%\}" />
<IncludeRules context="FindTemplate" />
<IncludeRules context="FindHTML" />
</context>
<context name="In Block" attribute="Normal Text" lineEndContext="#stay">
<RegExpr context="#pop" String="\{%-*\s*end[a-z]+\s*-*%\}" lookAhead="true" />
<IncludeRules context="FindTemplate" />
<IncludeRules context="FindHTML" />
</context>
<context name="FindTemplate" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Template Comment" context="Template Comment" String="\{\#" beginRegion="templatecomment" />
<Detect2Chars attribute="Template Var" context="Template Var" char="{" char1="{" />
<Detect2Chars attribute="Template Tag" context="Template Tag" char="{" char1="%" />
</context>
<context name="Template Comment" attribute="Template Comment" lineEndContext="#stay">
<RegExpr attribute="Template Comment" context="#pop" String="\#\}" endRegion="templatecomment" />
</context>
<context name="Template Var" attribute="Template Var" lineEndContext="#stay">
<Detect2Chars attribute="Template Var" context="#pop" char="}" char1="}" />
<DetectChar attribute="Template Filter" context="Template Filter" char='|' />
<Detect2Chars attribute="Error" context="#stay" char="{" char1="{" />
<Detect2Chars attribute="Error" context="#stay" char="{" char1="%" />
<Detect2Chars attribute="Error" context="#stay" char="%" char1="}" />
</context>
<context name="Template Filter" attribute="Template Filter" lineEndContext="#stay">
<Detect2Chars attribute="Template Var" context="#pop#pop" char="}" char1="}" />
<DetectChar attribute="Template String" char="'" context="Single A-string"/>
<DetectChar attribute="Template String" char=""" context="Single Q-string"/>
<Detect2Chars attribute="Error" context="#stay" char="{" char1="{" />
<Detect2Chars attribute="Error" context="#stay" char="{" char1="%" />
<Detect2Chars attribute="Error" context="#stay" char="%" char1="}" />
</context>
<context name="Template Tag" attribute="Template Tag" lineEndContext="#stay">
<keyword String="blocktags" context="Found Block Tag" lookAhead="true" attribute="Template Tag" beginRegion="In Block" />
<DetectIdentifier attribute="Template Tag" context="In Template Tag" />
</context>
<context name="Found Block Tag" attribute="Template Tag" lineEndContext="#stay">
<!-- This context is entered when a matching block tag was found through lookAhead. We need to capture it in an re, so that it can be matched with the end[blockname] tag later -->
<RegExpr attribute="Template Tag" String="(&name;)" context="In Block Tag"/>
</context>
<context name="In Block Tag" attribute="Template Tag Argument" dynamic="true" lineEndContext="#stay" >
<RegExpr context="#pop#pop#pop" String="\{%-*\s*end%1\s*-*%\}" dynamic="true" attribute="Template Tag" endRegion="In Block"/>
<RegExpr context="Non Matching Tag" String="\{%-*\s*end[a-z]+\s*-*%\}" lookAhead="true" />
<Detect2Chars attribute="Template Tag" context="In Block" char="%" char1="}" />
<IncludeRules context="In Template Tag" />
</context>
<context name="Non Matching Tag" attribute="Template Tag" lineEndContext="#stay">
<keyword String="endblocktags" attribute="Mismatched Block Tag" context="#pop" />
<!-- If the mismatched tag is one we don't know about, ignore it. -->
<DetectIdentifier attribute="Template Tag" context="#pop" />
</context>
<context name="In Template Tag" attribute="Template Tag Argument" lineEndContext="#stay">
<Detect2Chars attribute="Template Tag" context="#pop#pop" char="%" char1="}" />
<DetectChar attribute="Template String" char="'" context="Single A-string"/>
<DetectChar attribute="Template String" char=""" context="Single Q-string"/>
<Detect2Chars attribute="Error" context="#stay" char="{" char1="{" />
<Detect2Chars attribute="Error" context="#stay" char="{" char1="%" />
<Detect2Chars attribute="Error" context="#stay" char="}" char1="}" />
</context>
<context name="Single A-string" attribute="Template String" lineEndContext="#stay">
<HlCStringChar attribute="Template String" context="#stay"/>
<!-- <RegExpr attribute="Operator" String="%[a-zA-Z]" context="#stay"/> -->
<DetectChar attribute="Template String" char="'" context="#pop"/>
</context>
<context name="Single Q-string" attribute="Template String" lineEndContext="#stay">
<HlCStringChar attribute="Template String" context="#stay"/>
<!-- <RegExpr attribute="Operator" String="%[a-zA-Z]" context="#stay"/> -->
<DetectChar attribute="Template String" char=""" context="#pop"/>
</context>
<context name="FindHTML" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces/>
<DetectIdentifier/>
<StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" />
<StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" />
<RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" beginRegion="doctype" />
<RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:-]*" beginRegion="pi" />
<RegExpr attribute="Element" context="CSS" String="<style\b" insensitive="TRUE" beginRegion="style" />
<RegExpr attribute="Element" context="JS" String="<script\b" insensitive="TRUE" beginRegion="script" />
<RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" insensitive="true" beginRegion="doctype" />
<RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:-]*" beginRegion="pi" />
<RegExpr attribute="Element" context="CSS" String="<style\b" insensitive="true" beginRegion="style" />
<RegExpr attribute="Element" context="JS" String="<script\b" insensitive="true" beginRegion="script" />
<RegExpr attribute="Element" context="El Open" String="<head\b" insensitive="true" beginRegion="head" />
<RegExpr attribute="Element" context="El Open" String="<title\b" insensitive="true" beginRegion="title" />
<RegExpr attribute="Element" context="El Open" String="<base\b" insensitive="true" beginRegion="base" />
<RegExpr attribute="Element" context="El Open" String="<link\b" insensitive="true" beginRegion="link" />
<RegExpr attribute="Element" context="El Open" String="<meta\b" insensitive="true" beginRegion="meta" />
<RegExpr attribute="Element" context="El Open" String="<noscript\b" insensitive="true" beginRegion="noscript" />
<RegExpr attribute="Element" context="El Open" String="<body\b" insensitive="true" beginRegion="body" />
<RegExpr attribute="Element" context="El Open" String="<section\b" insensitive="true" beginRegion="section" />
<RegExpr attribute="Element" context="El Open" String="<nav\b" insensitive="true" beginRegion="nav" />
<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="<h1\b" insensitive="true" beginRegion="h1" />
<RegExpr attribute="Element" context="El Open" String="<h2\b" insensitive="true" beginRegion="h2" />
<RegExpr attribute="Element" context="El Open" String="<h3\b" insensitive="true" beginRegion="h3" />
<RegExpr attribute="Element" context="El Open" String="<h4\b" insensitive="true" beginRegion="h4" />
<RegExpr attribute="Element" context="El Open" String="<h5\b" insensitive="true" beginRegion="h5" />
<RegExpr attribute="Element" context="El Open" String="<h6\b" insensitive="true" beginRegion="h6" />
<RegExpr attribute="Element" context="El Open" String="<hgroup\b" insensitive="true" beginRegion="hgroup" />
<RegExpr attribute="Element" context="El Open" String="<header\b" insensitive="true" beginRegion="header" />
<RegExpr attribute="Element" context="El Open" String="<footer\b" insensitive="true" beginRegion="footer" />
<RegExpr attribute="Element" context="El Open" String="<address\b" insensitive="true" beginRegion="address" />
<RegExpr attribute="Element" context="El Open" String="<p\b" insensitive="true" beginRegion="p" />
<RegExpr attribute="Element" context="El Open" String="<hr\b" insensitive="true" beginRegion="hr" />
<RegExpr attribute="Element" context="El Open" String="<pre\b" insensitive="true" beginRegion="pre" />
<RegExpr attribute="Element" context="El Open" String="<blockquote\b" insensitive="true" beginRegion="blockquote" />
<RegExpr attribute="Element" context="El Open" String="<ol\b" insensitive="true" beginRegion="ol" />
<RegExpr attribute="Element" context="El Open" String="<ul\b" insensitive="true" beginRegion="ul" />
<RegExpr attribute="Element" context="El Open" String="<li\b" insensitive="true" beginRegion="li" />
<RegExpr attribute="Element" context="El Open" String="<dl\b" insensitive="true" beginRegion="dl" />
<RegExpr attribute="Element" context="El Open" String="<dt\b" insensitive="true" beginRegion="dt" />
<RegExpr attribute="Element" context="El Open" String="<dd\b" insensitive="true" beginRegion="dd" />
<RegExpr attribute="Element" context="El Open" String="<figure\b" insensitive="true" beginRegion="figure" />
<RegExpr attribute="Element" context="El Open" String="<figcaption\b" insensitive="true" beginRegion="figcaption" />
<RegExpr attribute="Element" context="El Open" String="<div\b" insensitive="true" beginRegion="div" />
<RegExpr attribute="Element" context="El Open" String="<a\b" insensitive="true" beginRegion="a" />
<RegExpr attribute="Element" context="El Open" String="<em\b" insensitive="true" beginRegion="em" />
<RegExpr attribute="Element" context="El Open" String="<strong\b" insensitive="true" beginRegion="strong" />
<RegExpr attribute="Element" context="El Open" String="<small\b" insensitive="true" beginRegion="small" />
<RegExpr attribute="Element" context="El Open" String="<s\b" insensitive="true" beginRegion="s" />
<RegExpr attribute="Element" context="El Open" String="<cite\b" insensitive="true" beginRegion="cite" />
<RegExpr attribute="Element" context="El Open" String="<q\b" insensitive="true" beginRegion="q" />
<RegExpr attribute="Element" context="El Open" String="<dfn\b" insensitive="true" beginRegion="dfn" />
<RegExpr attribute="Element" context="El Open" String="<abbr\b" insensitive="true" beginRegion="abbr" />
<RegExpr attribute="Element" context="El Open" String="<data\b" insensitive="true" beginRegion="data" />
<RegExpr attribute="Element" context="El Open" String="<time\b" insensitive="true" beginRegion="time" />
<RegExpr attribute="Element" context="El Open" String="<code\b" insensitive="true" beginRegion="code" />
<RegExpr attribute="Element" context="El Open" String="<var\b" insensitive="true" beginRegion="var" />
<RegExpr attribute="Element" context="El Open" String="<samp\b" insensitive="true" beginRegion="samp" />
<RegExpr attribute="Element" context="El Open" String="<kbd\b" insensitive="true" beginRegion="kbd" />
<RegExpr attribute="Element" context="El Open" String="<sub\b" insensitive="true" beginRegion="sub" />
<RegExpr attribute="Element" context="El Open" String="<sup\b" insensitive="true" beginRegion="sup" />
<RegExpr attribute="Element" context="El Open" String="<i\b" insensitive="true" beginRegion="i" />
<RegExpr attribute="Element" context="El Open" String="<b\b" insensitive="true" beginRegion="b" />
<RegExpr attribute="Element" context="El Open" String="<u\b" insensitive="true" beginRegion="u" />
<RegExpr attribute="Element" context="El Open" String="<mark\b" insensitive="true" beginRegion="mark" />
<RegExpr attribute="Element" context="El Open" String="<ruby\b" insensitive="true" beginRegion="ruby" />
<RegExpr attribute="Element" context="El Open" String="<rt\b" insensitive="true" beginRegion="rt" />
<RegExpr attribute="Element" context="El Open" String="<rp\b" insensitive="true" beginRegion="rp" />
<RegExpr attribute="Element" context="El Open" String="<bdi\b" insensitive="true" beginRegion="bdi" />
<RegExpr attribute="Element" context="El Open" String="<bdo\b" insensitive="true" beginRegion="bdo" />
<RegExpr attribute="Element" context="El Open" String="<span\b" insensitive="true" beginRegion="span" />
<RegExpr attribute="Element" context="El Open" String="<br\b" insensitive="true" beginRegion="br" />
<RegExpr attribute="Element" context="El Open" String="<wbr\b" insensitive="true" beginRegion="wbr" />
<RegExpr attribute="Element" context="El Open" String="<ins\b" insensitive="true" beginRegion="ins" />
<RegExpr attribute="Element" context="El Open" String="<del\b" insensitive="true" beginRegion="del" />
<RegExpr attribute="Element" context="El Open" String="<img\b" insensitive="true" beginRegion="img" />
<RegExpr attribute="Element" context="El Open" String="<iframe\b" insensitive="true" beginRegion="iframe" />
<RegExpr attribute="Element" context="El Open" String="<object\b" insensitive="true" beginRegion="object" />
<RegExpr attribute="Element" context="El Open" String="<param\b" insensitive="true" beginRegion="param" />
<RegExpr attribute="Element" context="El Open" String="<video\b" insensitive="true" beginRegion="video" />
<RegExpr attribute="Element" context="El Open" String="<audio\b" insensitive="true" beginRegion="audio" />
<RegExpr attribute="Element" context="El Open" String="<source\b" insensitive="true" beginRegion="source" />
<RegExpr attribute="Element" context="El Open" String="<track\b" insensitive="true" beginRegion="track" />
<RegExpr attribute="Element" context="El Open" String="<canvas\b" insensitive="true" beginRegion="canvas" />
<RegExpr attribute="Element" context="El Open" String="<map\b" insensitive="true" beginRegion="map" />
<RegExpr attribute="Element" context="El Open" String="<area\b" insensitive="true" beginRegion="area" />
<RegExpr attribute="Element" context="El Open" String="<svg\b" insensitive="true" beginRegion="svg" />
<RegExpr attribute="Element" context="El Open" String="<math\b" insensitive="true" beginRegion="math" />
<RegExpr attribute="Element" context="El Open" String="<table\b" insensitive="true" beginRegion="table" />
<RegExpr attribute="Element" context="El Open" String="<caption\b" insensitive="true" beginRegion="caption" />
<RegExpr attribute="Element" context="El Open" String="<colgroup\b" insensitive="true" beginRegion="colgroup" />
<RegExpr attribute="Element" context="El Open" String="<col\b" insensitive="true" beginRegion="col" />
<RegExpr attribute="Element" context="El Open" String="<tbody\b" insensitive="true" beginRegion="tbody" />
<RegExpr attribute="Element" context="El Open" String="<thead\b" insensitive="true" beginRegion="thead" />
<RegExpr attribute="Element" context="El Open" String="<tfoot\b" insensitive="true" beginRegion="tfoot" />
<RegExpr attribute="Element" context="El Open" String="<tr\b" insensitive="true" beginRegion="tr" />
<RegExpr attribute="Element" context="El Open" String="<td\b" insensitive="true" beginRegion="td" />
<RegExpr attribute="Element" context="El Open" String="<th\b" insensitive="true" beginRegion="th" />
<RegExpr attribute="Element" context="El Open" String="<&name;" />
<RegExpr attribute="Element" context="El Close" String="<head\b" insensitive="true" endRegion="head" />
<RegExpr attribute="Element" context="El Close" String="<title\b" insensitive="true" endRegion="title" />
<RegExpr attribute="Element" context="El Close" String="<base\b" insensitive="true" endRegion="base" />
<RegExpr attribute="Element" context="El Close" String="<link\b" insensitive="true" endRegion="link" />
<RegExpr attribute="Element" context="El Close" String="<meta\b" insensitive="true" endRegion="meta" />
<RegExpr attribute="Element" context="El Close" String="<style\b" insensitive="true" endRegion="style" />
<RegExpr attribute="Element" context="El Close" String="<script\b" insensitive="true" endRegion="script" />
<RegExpr attribute="Element" context="El Close" String="<noscript\b" insensitive="true" endRegion="noscript" />
<RegExpr attribute="Element" context="El Close" String="<body\b" insensitive="true" endRegion="body" />
<RegExpr attribute="Element" context="El Close" String="<section\b" insensitive="true" endRegion="section" />
<RegExpr attribute="Element" context="El Close" String="<nav\b" insensitive="true" endRegion="nav" />
<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="<h1\b" insensitive="true" endRegion="h1" />
<RegExpr attribute="Element" context="El Close" String="<h2\b" insensitive="true" endRegion="h2" />
<RegExpr attribute="Element" context="El Close" String="<h3\b" insensitive="true" endRegion="h3" />
<RegExpr attribute="Element" context="El Close" String="<h4\b" insensitive="true" endRegion="h4" />
<RegExpr attribute="Element" context="El Close" String="<h5\b" insensitive="true" endRegion="h5" />
<RegExpr attribute="Element" context="El Close" String="<h6\b" insensitive="true" endRegion="h6" />
<RegExpr attribute="Element" context="El Close" String="<hgroup\b" insensitive="true" endRegion="hgroup" />
<RegExpr attribute="Element" context="El Close" String="<header\b" insensitive="true" endRegion="header" />
<RegExpr attribute="Element" context="El Close" String="<footer\b" insensitive="true" endRegion="footer" />
<RegExpr attribute="Element" context="El Close" String="<address\b" insensitive="true" endRegion="address" />
<RegExpr attribute="Element" context="El Close" String="<p\b" insensitive="true" endRegion="p" />
<RegExpr attribute="Element" context="El Close" String="<hr\b" insensitive="true" endRegion="hr" />
<RegExpr attribute="Element" context="El Close" String="<pre\b" insensitive="true" endRegion="pre" />
<RegExpr attribute="Element" context="El Close" String="<blockquote\b" insensitive="true" endRegion="blockquote" />
<RegExpr attribute="Element" context="El Close" String="<ol\b" insensitive="true" endRegion="ol" />
<RegExpr attribute="Element" context="El Close" String="<ul\b" insensitive="true" endRegion="ul" />
<RegExpr attribute="Element" context="El Close" String="<li\b" insensitive="true" endRegion="li" />
<RegExpr attribute="Element" context="El Close" String="<dl\b" insensitive="true" endRegion="dl" />
<RegExpr attribute="Element" context="El Close" String="<dt\b" insensitive="true" endRegion="dt" />
<RegExpr attribute="Element" context="El Close" String="<dd\b" insensitive="true" endRegion="dd" />
<RegExpr attribute="Element" context="El Close" String="<figure\b" insensitive="true" endRegion="figure" />
<RegExpr attribute="Element" context="El Close" String="<figcaption\b" insensitive="true" endRegion="figcaption" />
<RegExpr attribute="Element" context="El Close" String="<div\b" insensitive="true" endRegion="div" />
<RegExpr attribute="Element" context="El Close" String="<a\b" insensitive="true" endRegion="a" />
<RegExpr attribute="Element" context="El Close" String="<em\b" insensitive="true" endRegion="em" />
<RegExpr attribute="Element" context="El Close" String="<strong\b" insensitive="true" endRegion="strong" />
<RegExpr attribute="Element" context="El Close" String="<small\b" insensitive="true" endRegion="small" />
<RegExpr attribute="Element" context="El Close" String="<s\b" insensitive="true" endRegion="s" />
<RegExpr attribute="Element" context="El Close" String="<cite\b" insensitive="true" endRegion="cite" />
<RegExpr attribute="Element" context="El Close" String="<q\b" insensitive="true" endRegion="q" />
<RegExpr attribute="Element" context="El Close" String="<dfn\b" insensitive="true" endRegion="dfn" />
<RegExpr attribute="Element" context="El Close" String="<abbr\b" insensitive="true" endRegion="abbr" />
<RegExpr attribute="Element" context="El Close" String="<data\b" insensitive="true" endRegion="data" />
<RegExpr attribute="Element" context="El Close" String="<time\b" insensitive="true" endRegion="time" />
<RegExpr attribute="Element" context="El Close" String="<code\b" insensitive="true" endRegion="code" />
<RegExpr attribute="Element" context="El Close" String="<var\b" insensitive="true" endRegion="var" />
<RegExpr attribute="Element" context="El Close" String="<samp\b" insensitive="true" endRegion="samp" />
<RegExpr attribute="Element" context="El Close" String="<kbd\b" insensitive="true" endRegion="kbd" />
<RegExpr attribute="Element" context="El Close" String="<sub\b" insensitive="true" endRegion="sub" />
<RegExpr attribute="Element" context="El Close" String="<sup\b" insensitive="true" endRegion="sup" />
<RegExpr attribute="Element" context="El Close" String="<i\b" insensitive="true" endRegion="i" />
<RegExpr attribute="Element" context="El Close" String="<b\b" insensitive="true" endRegion="b" />
<RegExpr attribute="Element" context="El Close" String="<u\b" insensitive="true" endRegion="u" />
<RegExpr attribute="Element" context="El Close" String="<mark\b" insensitive="true" endRegion="mark" />
<RegExpr attribute="Element" context="El Close" String="<ruby\b" insensitive="true" endRegion="ruby" />
<RegExpr attribute="Element" context="El Close" String="<rt\b" insensitive="true" endRegion="rt" />
<RegExpr attribute="Element" context="El Close" String="<rp\b" insensitive="true" endRegion="rp" />
<RegExpr attribute="Element" context="El Close" String="<bdi\b" insensitive="true" endRegion="bdi" />
<RegExpr attribute="Element" context="El Close" String="<bdo\b" insensitive="true" endRegion="bdo" />
<RegExpr attribute="Element" context="El Close" String="<span\b" insensitive="true" endRegion="span" />
<RegExpr attribute="Element" context="El Close" String="<br\b" insensitive="true" endRegion="br" />
<RegExpr attribute="Element" context="El Close" String="<wbr\b" insensitive="true" endRegion="wbr" />
<RegExpr attribute="Element" context="El Close" String="<ins\b" insensitive="true" endRegion="ins" />
<RegExpr attribute="Element" context="El Close" String="<del\b" insensitive="true" endRegion="del" />
<RegExpr attribute="Element" context="El Close" String="<img\b" insensitive="true" endRegion="img" />
<RegExpr attribute="Element" context="El Close" String="<iframe\b" insensitive="true" endRegion="iframe" />
<RegExpr attribute="Element" context="El Close" String="<object\b" insensitive="true" endRegion="object" />
<RegExpr attribute="Element" context="El Close" String="<param\b" insensitive="true" endRegion="param" />
<RegExpr attribute="Element" context="El Close" String="<video\b" insensitive="true" endRegion="video" />
<RegExpr attribute="Element" context="El Close" String="<audio\b" insensitive="true" endRegion="audio" />
<RegExpr attribute="Element" context="El Close" String="<source\b" insensitive="true" endRegion="source" />
<RegExpr attribute="Element" context="El Close" String="<track\b" insensitive="true" endRegion="track" />
<RegExpr attribute="Element" context="El Close" String="<canvas\b" insensitive="true" endRegion="canvas" />
<RegExpr attribute="Element" context="El Close" String="<map\b" insensitive="true" endRegion="map" />
<RegExpr attribute="Element" context="El Close" String="<area\b" insensitive="true" endRegion="area" />
<RegExpr attribute="Element" context="El Close" String="<svg\b" insensitive="true" endRegion="svg" />
<RegExpr attribute="Element" context="El Close" String="<math\b" insensitive="true" endRegion="math" />
<RegExpr attribute="Element" context="El Close" String="<table\b" insensitive="true" endRegion="table" />
<RegExpr attribute="Element" context="El Close" String="<caption\b" insensitive="true" endRegion="caption" />
<RegExpr attribute="Element" context="El Close" String="<colgroup\b" insensitive="true" endRegion="colgroup" />
<RegExpr attribute="Element" context="El Close" String="<col\b" insensitive="true" endRegion="col" />
<RegExpr attribute="Element" context="El Close" String="<tbody\b" insensitive="true" endRegion="tbody" />
<RegExpr attribute="Element" context="El Close" String="<thead\b" insensitive="true" endRegion="thead" />
<RegExpr attribute="Element" context="El Close" String="<tfoot\b" insensitive="true" endRegion="tfoot" />
<RegExpr attribute="Element" context="El Close" String="<tr\b" insensitive="true" endRegion="tr" />
<RegExpr attribute="Element" context="El Close" String="<td\b" insensitive="true" endRegion="td" />
<RegExpr attribute="Element" context="El Close" String="<th\b" insensitive="true" endRegion="th" />
<RegExpr attribute="Element" context="El Close" String="</&name;" />
<!-- as long as kde gives DTDs the text/html mimetype--><IncludeRules context="FindDTDRules" />
<IncludeRules context="FindEntityRefs" />
</context>
<context name="FindEntityRefs" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="EntityRef" context="#stay" String="&entref;" />
<AnyChar attribute="Error" context="#stay" String="&<" />
</context>
<context name="FindPEntityRefs" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="EntityRef" context="#stay" String="&entref;" />
<RegExpr attribute="PEntityRef" context="#stay" String="%&name;;" />
<AnyChar attribute="Error" context="#stay" String="&%" />
</context>
<context name="FindAttributes" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Attribute" context="#stay" String="&name;" column="0"/>
<RegExpr attribute="Attribute" context="#stay" String="\s+&name;" />
<DetectChar attribute="Attribute" context="Value" char="=" />
</context>
<context name="FindDTDRules" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Doctype" context="Doctype Markupdecl" String="<!(ELEMENT|ENTITY|ATTLIST|NOTATION)\b" />
</context>
<context name="Comment" attribute="Comment" lineEndContext="#stay">
<DetectSpaces/>
<IncludeRules context="##Alerts" />
<IncludeRules context="FindTemplate" />
<DetectIdentifier/>
<StringDetect attribute="Comment" context="#pop" String="-->" endRegion="comment" />
<RegExpr attribute="Error" context="#stay" String="-(-(?!->))+" />
</context>
<context name="CDATA" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces/>
<DetectIdentifier/>
<StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" />
<StringDetect attribute="EntityRef" context="#stay" String="]]&gt;" />
</context>
<context name="PI" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" />
</context>
<context name="Doctype" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char=">" endRegion="doctype" />
<DetectChar attribute="Doctype" context="Doctype Internal Subset" char="[" beginRegion="int_subset" />
</context>
<context name="Doctype Internal Subset" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char="]" endRegion="int_subset" />
<IncludeRules context="FindDTDRules" />
<StringDetect attribute="Comment" context="Comment" String="<!--" beginRegion="comment" />
<RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:-]*" beginRegion="pi" />
<IncludeRules context="FindPEntityRefs" />
</context>
<context name="Doctype Markupdecl" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char=">" />
<DetectChar attribute="Value" context="Doctype Markupdecl DQ" char=""" />
<DetectChar attribute="Value" context="Doctype Markupdecl SQ" char="'" />
</context>
<context name="Doctype Markupdecl DQ" attribute="Value" lineEndContext="#stay">
<DetectChar attribute="Value" context="#pop" char=""" />
<IncludeRules context="FindPEntityRefs" />
</context>
<context name="Doctype Markupdecl SQ" attribute="Value" lineEndContext="#stay">
<DetectChar attribute="Value" context="#pop" char="'" />
<IncludeRules context="FindPEntityRefs" />
</context>
<context name="El Open" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars attribute="Element" context="#pop" char="/" char1=">" />
<DetectChar attribute="Element" context="#pop" char=">" />
<IncludeRules context="FindAttributes" />
<IncludeRules context="FindTemplate" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="El Close" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Element" context="#pop" char=">" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="El Close 2" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Element" context="#pop#pop#pop" char=">" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="El Close 3" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Element" context="#pop#pop#pop#pop" char=">" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="CSS" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars attribute="Element" context="#pop" char="/" char1=">" endRegion="style" />
<DetectChar attribute="Element" context="CSS content" char=">" />
<IncludeRules context="FindAttributes" />
<IncludeRules context="FindTemplate" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="CSS content" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Element" context="El Close 2" String="</style\b" insensitive="TRUE" endRegion="style" />
<IncludeRules context="FindTemplate" />
<IncludeRules context="##CSS" includeAttrib="true"/>
</context>
<context name="JS" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars attribute="Element" context="#pop" char="/" char1=">" endRegion="script" />
<DetectChar attribute="Element" context="JS content" char=">" />
<IncludeRules context="FindTemplate" />
<IncludeRules context="FindAttributes" />
<RegExpr attribute="Error" context="#stay" String="\S" />
</context>
<context name="JS content" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Element" context="El Close 2" String="</script\b" insensitive="TRUE" endRegion="script" />
<RegExpr attribute="Comment" context="JS comment close" String="//(?=.*</script\b)" insensitive="TRUE" />
<IncludeRules context="FindTemplate" />
<IncludeRules context="##JavaScript" includeAttrib="true"/>
</context>
<context name="JS comment close" attribute="Comment" lineEndContext="#pop">
<RegExpr attribute="Element" context="El Close 3" String="</script\b" insensitive="TRUE" endRegion="script" />
<IncludeRules context="FindTemplate" />
<IncludeRules context="##Alerts" />
</context>
<context name="Value" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="Value NQ">
<DetectChar attribute="Value" context="Value DQ" char=""" />
<DetectChar attribute="Value" context="Value SQ" char="'" />
<DetectSpaces />
</context>
<context name="Value NQ" attribute="Normal Text" lineEndContext="#pop#pop" fallthrough="true" fallthroughContext="#pop#pop">
<IncludeRules context="FindEntityRefs" />
<IncludeRules context="FindTemplate" />
<RegExpr attribute="Value" context="#stay" String="/(?!>)" />
<RegExpr attribute="Value" context="#stay" String="[^/><"'\s]" />
</context>
<context name="Value DQ" attribute="Value" lineEndContext="#stay">
<DetectChar attribute="Value" context="#pop#pop" char=""" />
<IncludeRules context="FindTemplate" />
<IncludeRules context="FindEntityRefs" />
</context>
<context name="Value SQ" attribute="Value" lineEndContext="#stay">
<DetectChar attribute="Value" context="#pop#pop" char="'" />
<IncludeRules context="FindTemplate" />
<IncludeRules context="FindEntityRefs" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="CDATA" defStyleNum="dsBaseN" bold="1" />
<itemData name="Processing Instruction" defStyleNum="dsKeyword" />
<itemData name="Doctype" defStyleNum="dsDataType" bold="1" />
<itemData name="Element" defStyleNum="dsKeyword" />
<itemData name="Attribute" defStyleNum="dsOthers" />
<itemData name="Value" defStyleNum="dsString" color="#a00" />
<itemData name="EntityRef" defStyleNum="dsDecVal" />
<itemData name="PEntityRef" defStyleNum="dsDecVal" />
<itemData name="Error" defStyleNum="dsError" />
<itemData name="Template Var" defStyleNum="dsFunction" />
<itemData name="Template Tag" defStyleNum="dsOthers" bold="1" />
<itemData name="Template Tag Argument" defStyleNum="dsFunction" />
<itemData name="Template String" defStyleNum="dsString" />
<itemData name="Template Comment" defStyleNum="dsComment" />
<itemData name="Template Filter" defStyleNum="dsFunction" />
<itemData name="Mismatched Block Tag" defStyleNum="dsError" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="multiLine" start="{#" end="#}" region="templatecomment" />
</comments>
</general>
</language>