(making it readable would be a good idea...)
[specialops2.git] / res / userhtml.xsd
blob4d186d13849891172518ca4773942d0ba90f2c6f
1 <schema xmlns="http://www.w3.org/2001/XMLSchema">
3 <!--
4 public static $allowed_html = array(
5 /* These are the order the HTML 5 spec defines them.
6 Yes I know HTML 5 is still a draft. Stop fucking whining. */
7 'blockquote',
8 'p',
9 'pre',
10 'ol', 'ul', 'li', 'dl', 'dt', 'dd',
11 'em', 'strong', 'small', 'abbr', 'dfn', 'code', 'var', 'samp', 'kbd', 'sup', 'sub', 'q', 'cite',
12 'ins', 'del'
14 -->
16 <!-- normal tags -->
17 <element name="blockquote" type="block"/>
18 <element name="p" type="block"/>
19 <element name="pre" type="block"/>
20 <element name="ol" type="list"/>
21 <element name="ul" type="list"/>
22 <element name="li" type="listitem"/>
23 <element name="dl" type="dlist"/>
24 <element name="dt" type="dlistitem"/>
25 <element name="dd" type="dlistitem"/>
26 <element name="em" type="inline"/>
27 <element name="strong" type="inline"/>
28 <element name="small" type="inline"/>
29 <element name="code" type="inline"/>
31 <!-- Root -->
32 <element name="div"/>
33 </schema>