rpeg-multimarkdown 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +94 -0
- data/README.markdown +58 -0
- data/Rakefile +171 -0
- data/bin/rpeg-multimarkdown +128 -0
- data/ext/extconf.h +3 -0
- data/ext/extconf.rb +15 -0
- data/ext/markdown.c +88 -0
- data/ext/markdown_lib.c +211 -0
- data/ext/markdown_lib.h +28 -0
- data/ext/markdown_output.c +2704 -0
- data/ext/markdown_parser.c +8275 -0
- data/ext/markdown_peg.h +142 -0
- data/ext/odf.c +179 -0
- data/ext/odf.h +3 -0
- data/ext/parsing_functions.c +182 -0
- data/ext/utility_functions.c +535 -0
- data/lib/multimarkdown.rb +1 -0
- data/lib/peg_multimarkdown.rb +74 -0
- data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.html +76 -0
- data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.tex +64 -0
- data/test/MultiMarkdownTest/BeamerTests/Beamer-Tables.text +38 -0
- data/test/MultiMarkdownTest/MarkdownTest.pl +182 -0
- data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.html +42 -0
- data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.tex +47 -0
- data/test/MultiMarkdownTest/MemoirTests/Automatic Labels.text +46 -0
- data/test/MultiMarkdownTest/MemoirTests/Base Header Level.html +20 -0
- data/test/MultiMarkdownTest/MemoirTests/Base Header Level.tex +19 -0
- data/test/MultiMarkdownTest/MemoirTests/Base Header Level.text +16 -0
- data/test/MultiMarkdownTest/MemoirTests/BibTeX.html +17 -0
- data/test/MultiMarkdownTest/MemoirTests/BibTeX.tex +12 -0
- data/test/MultiMarkdownTest/MemoirTests/BibTeX.text +11 -0
- data/test/MultiMarkdownTest/MemoirTests/Citations.html +63 -0
- data/test/MultiMarkdownTest/MemoirTests/Citations.tex +48 -0
- data/test/MultiMarkdownTest/MemoirTests/Citations.text +43 -0
- data/test/MultiMarkdownTest/MemoirTests/Definition Lists.html +61 -0
- data/test/MultiMarkdownTest/MemoirTests/Definition Lists.tex +63 -0
- data/test/MultiMarkdownTest/MemoirTests/Definition Lists.text +40 -0
- data/test/MultiMarkdownTest/MemoirTests/Dutch.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/Dutch.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/Dutch.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/Email.html +48 -0
- data/test/MultiMarkdownTest/MemoirTests/Email.tex +61 -0
- data/test/MultiMarkdownTest/MemoirTests/Email.text +32 -0
- data/test/MultiMarkdownTest/MemoirTests/English.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/English.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/English.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/Footnotes.html +47 -0
- data/test/MultiMarkdownTest/MemoirTests/Footnotes.tex +28 -0
- data/test/MultiMarkdownTest/MemoirTests/Footnotes.text +26 -0
- data/test/MultiMarkdownTest/MemoirTests/French.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/French.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/French.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/German.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/German.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/German.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/GermanGuillemets.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/Glossary.html +47 -0
- data/test/MultiMarkdownTest/MemoirTests/Glossary.tex +30 -0
- data/test/MultiMarkdownTest/MemoirTests/Glossary.text +29 -0
- data/test/MultiMarkdownTest/MemoirTests/Line Breaks.html +21 -0
- data/test/MultiMarkdownTest/MemoirTests/Line Breaks.tex +16 -0
- data/test/MultiMarkdownTest/MemoirTests/Line Breaks.text +16 -0
- data/test/MultiMarkdownTest/MemoirTests/Link Attributes.html +40 -0
- data/test/MultiMarkdownTest/MemoirTests/Link Attributes.tex +61 -0
- data/test/MultiMarkdownTest/MemoirTests/Link Attributes.text +51 -0
- data/test/MultiMarkdownTest/MemoirTests/Math.html +22 -0
- data/test/MultiMarkdownTest/MemoirTests/Math.tex +16 -0
- data/test/MultiMarkdownTest/MemoirTests/Math.text +16 -0
- data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.html +24 -0
- data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.tex +23 -0
- data/test/MultiMarkdownTest/MemoirTests/Memoir Mode.text +20 -0
- data/test/MultiMarkdownTest/MemoirTests/MetaData.html +22 -0
- data/test/MultiMarkdownTest/MemoirTests/MetaData.tex +14 -0
- data/test/MultiMarkdownTest/MemoirTests/MetaData.text +15 -0
- data/test/MultiMarkdownTest/MemoirTests/Sanity.html +100 -0
- data/test/MultiMarkdownTest/MemoirTests/Sanity.tex +101 -0
- data/test/MultiMarkdownTest/MemoirTests/Sanity.text +78 -0
- data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.html +26 -0
- data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.tex +21 -0
- data/test/MultiMarkdownTest/MemoirTests/SmartQuotes.text +19 -0
- data/test/MultiMarkdownTest/MemoirTests/Swedish.html +23 -0
- data/test/MultiMarkdownTest/MemoirTests/Swedish.tex +18 -0
- data/test/MultiMarkdownTest/MemoirTests/Swedish.text +17 -0
- data/test/MultiMarkdownTest/MemoirTests/Tables.html +221 -0
- data/test/MultiMarkdownTest/MemoirTests/Tables.tex +134 -0
- data/test/MultiMarkdownTest/MemoirTests/Tables.text +64 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.html +41 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.tex +46 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Automatic Labels.text +45 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.html +20 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.tex +19 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Base Header Level.text +16 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/BibTeX.html +16 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/BibTeX.tex +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/BibTex.text +10 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.html +62 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.tex +47 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Citations.text +42 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.html +60 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.tex +62 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Definition Lists.text +39 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Dutch.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Email.html +47 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Email.tex +54 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Email.text +31 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/English.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/English.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/English.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.html +16 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.tex +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Errors.text +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.html +46 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.tex +24 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Footnotes.text +25 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/French.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/French.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/French.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/German.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/German.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/German.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/GermanGuillemets.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.html +46 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.tex +26 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Glossary.text +28 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.html +46 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.tex +52 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Headers.text +49 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.html +20 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.tex +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Line Breaks.text +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.html +54 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.tex +60 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Link Attributes.text +50 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.html +20 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.tex +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/List Parsing.text +11 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.html +19 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.tex +13 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MarkdownInHTML.text +19 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Math.html +21 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Math.tex +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Math.text +15 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.html +21 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.tex +13 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/MetaData.text +14 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.html +104 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.tex +100 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Sanity.text +77 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.html +29 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.tex +24 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/SmartQuotes.text +22 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.html +23 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.tex +18 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Swedish.text +17 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.html +230 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.tex +133 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/Tables.text +63 -0
- data/test/MultiMarkdownTest/MultiMarkdownTests/bibtex.bib +119 -0
- data/test/MultiMarkdownTest/README.md +58 -0
- data/test/MultiMarkdownTest/Tests/Amps and angle encoding.html +17 -0
- data/test/MultiMarkdownTest/Tests/Amps and angle encoding.text +21 -0
- data/test/MultiMarkdownTest/Tests/Auto links.html +18 -0
- data/test/MultiMarkdownTest/Tests/Auto links.text +13 -0
- data/test/MultiMarkdownTest/Tests/Backslash escapes.html +118 -0
- data/test/MultiMarkdownTest/Tests/Backslash escapes.text +120 -0
- data/test/MultiMarkdownTest/Tests/Blockquotes with code blocks.html +15 -0
- data/test/MultiMarkdownTest/Tests/Blockquotes with code blocks.text +11 -0
- data/test/MultiMarkdownTest/Tests/Code Blocks.html +18 -0
- data/test/MultiMarkdownTest/Tests/Code Blocks.text +14 -0
- data/test/MultiMarkdownTest/Tests/Code Spans.html +6 -0
- data/test/MultiMarkdownTest/Tests/Code Spans.text +6 -0
- data/test/MultiMarkdownTest/Tests/Compatibility.html +5 -0
- data/test/MultiMarkdownTest/Tests/Compatibility.text +9 -0
- data/test/MultiMarkdownTest/Tests/Hard-wrapped paragraphs with list-like lines.html +8 -0
- data/test/MultiMarkdownTest/Tests/Hard-wrapped paragraphs with list-like lines.text +8 -0
- data/test/MultiMarkdownTest/Tests/Horizontal rules.html +71 -0
- data/test/MultiMarkdownTest/Tests/Horizontal rules.text +67 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML (Advanced).html +15 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML (Advanced).text +15 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML (Simple).html +72 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML (Simple).text +69 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML comments.html +13 -0
- data/test/MultiMarkdownTest/Tests/Inline HTML comments.text +13 -0
- data/test/MultiMarkdownTest/Tests/Links, inline style.html +11 -0
- data/test/MultiMarkdownTest/Tests/Links, inline style.text +12 -0
- data/test/MultiMarkdownTest/Tests/Links, reference style.html +52 -0
- data/test/MultiMarkdownTest/Tests/Links, reference style.text +71 -0
- data/test/MultiMarkdownTest/Tests/Links, shortcut references.html +9 -0
- data/test/MultiMarkdownTest/Tests/Links, shortcut references.text +20 -0
- data/test/MultiMarkdownTest/Tests/Literal quotes in titles.html +3 -0
- data/test/MultiMarkdownTest/Tests/Literal quotes in titles.text +7 -0
- data/test/MultiMarkdownTest/Tests/Markdown Documentation - Basics.html +314 -0
- data/test/MultiMarkdownTest/Tests/Markdown Documentation - Basics.text +306 -0
- data/test/MultiMarkdownTest/Tests/Markdown Documentation - Syntax.html +942 -0
- data/test/MultiMarkdownTest/Tests/Markdown Documentation - Syntax.text +888 -0
- data/test/MultiMarkdownTest/Tests/Nested blockquotes.html +9 -0
- data/test/MultiMarkdownTest/Tests/Nested blockquotes.text +5 -0
- data/test/MultiMarkdownTest/Tests/Ordered and unordered lists.html +148 -0
- data/test/MultiMarkdownTest/Tests/Ordered and unordered lists.text +131 -0
- data/test/MultiMarkdownTest/Tests/Strong and em together.html +7 -0
- data/test/MultiMarkdownTest/Tests/Strong and em together.text +7 -0
- data/test/MultiMarkdownTest/Tests/Tabs.html +25 -0
- data/test/MultiMarkdownTest/Tests/Tabs.text +21 -0
- data/test/MultiMarkdownTest/Tests/Tidyness.html +8 -0
- data/test/MultiMarkdownTest/Tests/Tidyness.text +5 -0
- data/test/benchmark.rb +49 -0
- data/test/multimarkdown_test.rb +89 -0
- metadata +280 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
<pre><code>code block on the first line
|
2
|
+
</code></pre>
|
3
|
+
|
4
|
+
<p>Regular text.</p>
|
5
|
+
|
6
|
+
<pre><code>code block indented by spaces
|
7
|
+
</code></pre>
|
8
|
+
|
9
|
+
<p>Regular text.</p>
|
10
|
+
|
11
|
+
<pre><code>the lines in this block
|
12
|
+
all contain trailing spaces
|
13
|
+
</code></pre>
|
14
|
+
|
15
|
+
<p>Regular Text.</p>
|
16
|
+
|
17
|
+
<pre><code>code block on the last line
|
18
|
+
</code></pre>
|
@@ -0,0 +1,71 @@
|
|
1
|
+
<p>Dashes:</p>
|
2
|
+
|
3
|
+
<hr />
|
4
|
+
|
5
|
+
<hr />
|
6
|
+
|
7
|
+
<hr />
|
8
|
+
|
9
|
+
<hr />
|
10
|
+
|
11
|
+
<pre><code>---
|
12
|
+
</code></pre>
|
13
|
+
|
14
|
+
<hr />
|
15
|
+
|
16
|
+
<hr />
|
17
|
+
|
18
|
+
<hr />
|
19
|
+
|
20
|
+
<hr />
|
21
|
+
|
22
|
+
<pre><code>- - -
|
23
|
+
</code></pre>
|
24
|
+
|
25
|
+
<p>Asterisks:</p>
|
26
|
+
|
27
|
+
<hr />
|
28
|
+
|
29
|
+
<hr />
|
30
|
+
|
31
|
+
<hr />
|
32
|
+
|
33
|
+
<hr />
|
34
|
+
|
35
|
+
<pre><code>***
|
36
|
+
</code></pre>
|
37
|
+
|
38
|
+
<hr />
|
39
|
+
|
40
|
+
<hr />
|
41
|
+
|
42
|
+
<hr />
|
43
|
+
|
44
|
+
<hr />
|
45
|
+
|
46
|
+
<pre><code>* * *
|
47
|
+
</code></pre>
|
48
|
+
|
49
|
+
<p>Underscores:</p>
|
50
|
+
|
51
|
+
<hr />
|
52
|
+
|
53
|
+
<hr />
|
54
|
+
|
55
|
+
<hr />
|
56
|
+
|
57
|
+
<hr />
|
58
|
+
|
59
|
+
<pre><code>___
|
60
|
+
</code></pre>
|
61
|
+
|
62
|
+
<hr />
|
63
|
+
|
64
|
+
<hr />
|
65
|
+
|
66
|
+
<hr />
|
67
|
+
|
68
|
+
<hr />
|
69
|
+
|
70
|
+
<pre><code>_ _ _
|
71
|
+
</code></pre>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
Dashes:
|
2
|
+
|
3
|
+
---
|
4
|
+
|
5
|
+
---
|
6
|
+
|
7
|
+
---
|
8
|
+
|
9
|
+
---
|
10
|
+
|
11
|
+
---
|
12
|
+
|
13
|
+
- - -
|
14
|
+
|
15
|
+
- - -
|
16
|
+
|
17
|
+
- - -
|
18
|
+
|
19
|
+
- - -
|
20
|
+
|
21
|
+
- - -
|
22
|
+
|
23
|
+
|
24
|
+
Asterisks:
|
25
|
+
|
26
|
+
***
|
27
|
+
|
28
|
+
***
|
29
|
+
|
30
|
+
***
|
31
|
+
|
32
|
+
***
|
33
|
+
|
34
|
+
***
|
35
|
+
|
36
|
+
* * *
|
37
|
+
|
38
|
+
* * *
|
39
|
+
|
40
|
+
* * *
|
41
|
+
|
42
|
+
* * *
|
43
|
+
|
44
|
+
* * *
|
45
|
+
|
46
|
+
|
47
|
+
Underscores:
|
48
|
+
|
49
|
+
___
|
50
|
+
|
51
|
+
___
|
52
|
+
|
53
|
+
___
|
54
|
+
|
55
|
+
___
|
56
|
+
|
57
|
+
___
|
58
|
+
|
59
|
+
_ _ _
|
60
|
+
|
61
|
+
_ _ _
|
62
|
+
|
63
|
+
_ _ _
|
64
|
+
|
65
|
+
_ _ _
|
66
|
+
|
67
|
+
_ _ _
|
@@ -0,0 +1,72 @@
|
|
1
|
+
<p>Here's a simple block:</p>
|
2
|
+
|
3
|
+
<div>
|
4
|
+
foo
|
5
|
+
</div>
|
6
|
+
|
7
|
+
<p>This should be a code block, though:</p>
|
8
|
+
|
9
|
+
<pre><code><div>
|
10
|
+
foo
|
11
|
+
</div>
|
12
|
+
</code></pre>
|
13
|
+
|
14
|
+
<p>As should this:</p>
|
15
|
+
|
16
|
+
<pre><code><div>foo</div>
|
17
|
+
</code></pre>
|
18
|
+
|
19
|
+
<p>Now, nested:</p>
|
20
|
+
|
21
|
+
<div>
|
22
|
+
<div>
|
23
|
+
<div>
|
24
|
+
foo
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<p>This should just be an HTML comment:</p>
|
30
|
+
|
31
|
+
<!-- Comment -->
|
32
|
+
|
33
|
+
<p>Multiline:</p>
|
34
|
+
|
35
|
+
<!--
|
36
|
+
Blah
|
37
|
+
Blah
|
38
|
+
-->
|
39
|
+
|
40
|
+
<p>Code block:</p>
|
41
|
+
|
42
|
+
<pre><code><!-- Comment -->
|
43
|
+
</code></pre>
|
44
|
+
|
45
|
+
<p>Just plain comment, with trailing spaces on the line:</p>
|
46
|
+
|
47
|
+
<!-- foo -->
|
48
|
+
|
49
|
+
<p>Code:</p>
|
50
|
+
|
51
|
+
<pre><code><hr />
|
52
|
+
</code></pre>
|
53
|
+
|
54
|
+
<p>Hr's:</p>
|
55
|
+
|
56
|
+
<hr>
|
57
|
+
|
58
|
+
<hr/>
|
59
|
+
|
60
|
+
<hr />
|
61
|
+
|
62
|
+
<hr>
|
63
|
+
|
64
|
+
<hr/>
|
65
|
+
|
66
|
+
<hr />
|
67
|
+
|
68
|
+
<hr class="foo" id="bar" />
|
69
|
+
|
70
|
+
<hr class="foo" id="bar"/>
|
71
|
+
|
72
|
+
<hr class="foo" id="bar" >
|
@@ -0,0 +1,69 @@
|
|
1
|
+
Here's a simple block:
|
2
|
+
|
3
|
+
<div>
|
4
|
+
foo
|
5
|
+
</div>
|
6
|
+
|
7
|
+
This should be a code block, though:
|
8
|
+
|
9
|
+
<div>
|
10
|
+
foo
|
11
|
+
</div>
|
12
|
+
|
13
|
+
As should this:
|
14
|
+
|
15
|
+
<div>foo</div>
|
16
|
+
|
17
|
+
Now, nested:
|
18
|
+
|
19
|
+
<div>
|
20
|
+
<div>
|
21
|
+
<div>
|
22
|
+
foo
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
This should just be an HTML comment:
|
28
|
+
|
29
|
+
<!-- Comment -->
|
30
|
+
|
31
|
+
Multiline:
|
32
|
+
|
33
|
+
<!--
|
34
|
+
Blah
|
35
|
+
Blah
|
36
|
+
-->
|
37
|
+
|
38
|
+
Code block:
|
39
|
+
|
40
|
+
<!-- Comment -->
|
41
|
+
|
42
|
+
Just plain comment, with trailing spaces on the line:
|
43
|
+
|
44
|
+
<!-- foo -->
|
45
|
+
|
46
|
+
Code:
|
47
|
+
|
48
|
+
<hr />
|
49
|
+
|
50
|
+
Hr'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
|
+
|