all repos — grayfriday @ 819f70a832b8b87ae4195bbc917f5baf11bda08a

blackfriday fork with a few changes

upskirtref/Inline HTML (Simple).text (view raw)

 1Here's a simple block:
 2
 3<div>
 4	foo
 5</div>
 6
 7This should be a code block, though:
 8
 9	<div>
10		foo
11	</div>
12
13As should this:
14
15	<div>foo</div>
16
17Now, nested:
18
19<div>
20	<div>
21		<div>
22			foo
23		</div>
24	</div>
25</div>
26
27This should just be an HTML comment:
28
29<!-- Comment -->
30
31Multiline:
32
33<!--
34Blah
35Blah
36-->
37
38Code block:
39
40	<!-- Comment -->
41
42Just plain comment, with trailing spaces on the line:
43
44<!-- foo -->   
45
46Code:
47
48	<hr />
49	
50Hr's:
51
52<hr>
53
54<hr/>
55
56<hr />
57
58<hr>   
59
60<hr/>  
61
62<hr /> 
63
64<hr class="foo" id="bar" />
65
66<hr class="foo" id="bar"/>
67
68<hr class="foo" id="bar" >
69