maruku 0.5.9 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. data/bin/maruku +6 -1
  2. data/bin/marutest +25 -18
  3. data/lib/maruku.rb +3 -0
  4. data/lib/maruku/ext/div.rb +39 -6
  5. data/lib/maruku/ext/math/latex_fix.rb +1 -0
  6. data/lib/maruku/ext/math/mathml_engines/blahtex.rb +9 -8
  7. data/lib/maruku/ext/math/parsing.rb +15 -1
  8. data/lib/maruku/ext/math/to_html.rb +34 -17
  9. data/lib/maruku/ext/math/to_latex.rb +4 -0
  10. data/lib/maruku/helpers.rb +3 -3
  11. data/lib/maruku/input/charsource.rb +1 -1
  12. data/lib/maruku/input/parse_block.rb +1 -0
  13. data/lib/maruku/input/parse_doc.rb +12 -5
  14. data/lib/maruku/input/parse_span_better.rb +24 -10
  15. data/lib/maruku/output/s5/to_s5.rb +14 -1
  16. data/lib/maruku/output/to_html.rb +20 -1
  17. data/lib/maruku/output/to_latex.rb +27 -0
  18. data/lib/maruku/output/to_latex_entities.rb +2 -2
  19. data/lib/maruku/output/to_s.rb +5 -2
  20. data/lib/maruku/string_utils.rb +2 -2
  21. data/lib/maruku/structures.rb +2 -0
  22. data/lib/maruku/tests/new_parser.rb +5 -2
  23. data/lib/maruku/version.rb +1 -1
  24. data/tests/bugs/code_in_links.md +85 -0
  25. data/tests/bugs/complex_escaping.md +34 -0
  26. data/tests/unittest/abbreviations.md +2 -10
  27. data/tests/unittest/alt.md +2 -3
  28. data/tests/unittest/attributes/att2.md +2 -4
  29. data/tests/unittest/attributes/att3.md +2 -7
  30. data/tests/unittest/attributes/attributes.md +2 -15
  31. data/tests/unittest/attributes/circular.md +2 -7
  32. data/tests/unittest/attributes/default.md +2 -6
  33. data/tests/unittest/blank.md +2 -5
  34. data/tests/unittest/blanks_in_code.md +2 -21
  35. data/tests/unittest/bug_def.md +2 -3
  36. data/tests/unittest/bug_table.md +2 -11
  37. data/tests/unittest/code.md +2 -9
  38. data/tests/unittest/code2.md +2 -8
  39. data/tests/unittest/code3.md +2 -21
  40. data/tests/unittest/data_loss.md +2 -7
  41. data/tests/unittest/divs/div1.md +32 -57
  42. data/tests/unittest/divs/div2.md +6 -7
  43. data/tests/unittest/divs/div3_nest.md +8 -13
  44. data/tests/unittest/easy.md +2 -3
  45. data/tests/unittest/email.md +2 -3
  46. data/tests/unittest/encoding/iso-8859-1.md +2 -5
  47. data/tests/unittest/encoding/utf-8.md +2 -5
  48. data/tests/unittest/entities.md +2 -20
  49. data/tests/unittest/escaping.md +2 -12
  50. data/tests/unittest/extra_dl.md +2 -10
  51. data/tests/unittest/extra_header_id.md +2 -13
  52. data/tests/unittest/extra_table1.md +2 -8
  53. data/tests/unittest/footnotes.md +2 -19
  54. data/tests/{bugs/html.md → unittest/hang.md} +9 -9
  55. data/tests/unittest/headers.md +2 -7
  56. data/tests/unittest/hex_entities.md +2 -3
  57. data/tests/unittest/hrule.md +2 -11
  58. data/tests/unittest/html2.md +2 -6
  59. data/tests/unittest/html3.md +2 -6
  60. data/tests/unittest/html4.md +2 -7
  61. data/tests/unittest/html5.md +2 -5
  62. data/tests/unittest/ie.md +2 -23
  63. data/tests/unittest/images.md +2 -14
  64. data/tests/unittest/images2.md +2 -5
  65. data/tests/unittest/inline_html.md +6 -102
  66. data/tests/unittest/inline_html2.md +2 -5
  67. data/tests/unittest/links.md +17 -50
  68. data/tests/unittest/links2.md +2 -3
  69. data/tests/unittest/list1.md +2 -10
  70. data/tests/unittest/list12.md +2 -5
  71. data/tests/unittest/list2.md +2 -10
  72. data/tests/unittest/list3.md +2 -14
  73. data/tests/unittest/list4.md +2 -17
  74. data/tests/unittest/lists.md +2 -39
  75. data/tests/unittest/lists10.md +2 -7
  76. data/tests/unittest/lists11.md +2 -5
  77. data/tests/unittest/lists6.md +2 -3
  78. data/tests/unittest/lists9.md +2 -11
  79. data/tests/unittest/lists_after_paragraph.md +3 -51
  80. data/tests/unittest/lists_ol.md +2 -52
  81. data/tests/unittest/loss.md +2 -3
  82. data/tests/unittest/math/equations.md +54 -37
  83. data/tests/unittest/math/inline.md +4 -12
  84. data/tests/unittest/math/math2.md +4 -57
  85. data/tests/unittest/math/notmath.md +2 -5
  86. data/tests/unittest/math/table.md +5 -11
  87. data/tests/unittest/math/table2.md +2 -8
  88. data/tests/unittest/misc_sw.md +2 -80
  89. data/tests/unittest/notyet/escape.md +2 -5
  90. data/tests/unittest/notyet/header_after_par.md +2 -13
  91. data/tests/unittest/notyet/ticks.md +2 -3
  92. data/tests/unittest/notyet/triggering.md +2 -39
  93. data/tests/unittest/olist.md +2 -9
  94. data/tests/unittest/one.md +2 -3
  95. data/tests/unittest/paragraph.md +2 -3
  96. data/tests/unittest/paragraph_rules/dont_merge_ref.md +2 -5
  97. data/tests/unittest/paragraph_rules/tab_is_blank.md +2 -5
  98. data/tests/unittest/paragraphs.md +2 -10
  99. data/tests/unittest/pending/amps.md +2 -4
  100. data/tests/unittest/pending/empty_cells.md +2 -6
  101. data/tests/unittest/pending/link.md +2 -21
  102. data/tests/unittest/pending/ref.md +2 -3
  103. data/tests/unittest/recover/recover_links.md +7 -8
  104. data/tests/{bugs → unittest/red_tests}/abbrev.md +12 -103
  105. data/tests/unittest/{lists7.md → red_tests/lists7.md} +2 -13
  106. data/tests/unittest/{lists7b.md → red_tests/lists7b.md} +2 -10
  107. data/tests/unittest/{lists8.md → red_tests/lists8.md} +2 -9
  108. data/tests/unittest/red_tests/xml.md +70 -0
  109. data/tests/unittest/references/long_example.md +2 -7
  110. data/tests/unittest/references/spaces_and_numbers.md +2 -3
  111. data/tests/unittest/smartypants.md +2 -47
  112. data/tests/unittest/syntax_hl.md +2 -18
  113. data/tests/unittest/table_attributes.md +2 -8
  114. data/tests/unittest/test.md +2 -3
  115. data/tests/unittest/underscore_in_words.md +27 -0
  116. data/tests/unittest/wrapping.md +2 -11
  117. data/tests/unittest/xml2.md +2 -5
  118. data/tests/unittest/xml3.md +2 -8
  119. data/tests/unittest/xml_instruction.md +2 -10
  120. data/unit_test_span.sh +2 -1
  121. metadata +242 -241
  122. data/docs/changelog.html +0 -490
  123. data/docs/entity_test.html +0 -258
  124. data/docs/exd.html +0 -307
  125. data/docs/index.html +0 -332
  126. data/docs/markdown_syntax.html +0 -690
  127. data/docs/maruku.html +0 -332
  128. data/docs/proposal.html +0 -326
  129. data/docs/tmp.md +0 -2
  130. data/lib/sort_prof.rb +0 -22
  131. data/tests/bugs/links.md +0 -47
  132. data/tests/diagrams/diagrams.md +0 -302
  133. data/tests/s5/a.md +0 -13
  134. data/tests/s5/instiki+s5.md +0 -105
  135. data/tests/unittest/xml.md +0 -54
@@ -22,9 +22,9 @@ md_el(:document,[
22
22
  <p>Here are some formulas:</p>
23
23
 
24
24
  <ul>
25
- <li><span class='maruku-inline'><code class='maruku-mathml'>\alpha</code></span></li>
25
+ <li><code class='maruku-mathml'>\alpha</code></li>
26
26
 
27
- <li><span class='maruku-inline'><code class='maruku-mathml'>x^{n}+y^{n} \neq z^{n}</code></span></li>
27
+ <li><code class='maruku-mathml'>x^{n}+y^{n} \neq z^{n}</code></li>
28
28
  </ul>
29
29
 
30
30
  <p>That&#8217;s it, nothing else is supported.</p>
@@ -53,14 +53,6 @@ Here are some formulas:Thats it, nothing else is supported.
53
53
 
54
54
 
55
55
  *** Output of Markdown.pl ***
56
- <p>Here are some formulas:</p>
57
-
58
- <ul>
59
- <li>$\alpha$</li>
60
- <li>$x^{n}+y^{n} \neq z^{n}$</li>
61
- </ul>
62
-
63
- <p>That's it, nothing else is supported.</p>
64
-
56
+ (not used anymore)
65
57
  *** Output of Markdown.pl (parsed) ***
66
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
58
+ (not used anymore)
@@ -25,12 +25,7 @@ md_el(:document,[
25
25
  md_el(:equation,[],{:label=>nil,:math=>" \\gamma ",:num=>nil},[])
26
26
  ],{},[])
27
27
  *** Output of to_html ***
28
- <div class='maruku-equation' id='eq:eq1'><span class='maruku-eq-number'>(1)</span><math class='maruku-mathml' display='block' xmlns='http://www.w3.org/1998/Math/MathML'><mi>&alpha;</mi></math><div class='maruku-eq-tex'><code style='display: none'> \alpha
29
-
30
- </code></div></div><div class='maruku-equation'><math class='maruku-mathml' display='block' xmlns='http://www.w3.org/1998/Math/MathML'><mi>&alpha;</mi></math><div class='maruku-eq-tex'><code style='display: none'> \alpha
31
-
32
- </code></div></div><div class='maruku-equation'><math class='maruku-mathml' display='block' xmlns='http://www.w3.org/1998/Math/MathML'><mi>&beta;</mi></math><div class='maruku-eq-tex'><code style='display: none'> \beta
33
- </code></div></div><div class='maruku-equation'><math class='maruku-mathml' display='block' xmlns='http://www.w3.org/1998/Math/MathML'><mi>&gamma;</mi></math><div class='maruku-eq-tex'><code style='display: none'> \gamma </code></div></div>
28
+ <div class='maruku-equation' id='eq:eq1'><math class='maruku-mathml' display='block' xmlns='http://www.w3.org/1998/Math/MathML'><mi>&alpha;</mi></math><span class='maruku-eq-tex'><code style='display: none'>\alpha</code></span><span class='maruku-eq-number'>(1)</span></div><div class='maruku-equation'><math class='maruku-mathml' display='block' xmlns='http://www.w3.org/1998/Math/MathML'><mi>&alpha;</mi></math><span class='maruku-eq-tex'><code style='display: none'>\alpha</code></span></div><div class='maruku-equation'><math class='maruku-mathml' display='block' xmlns='http://www.w3.org/1998/Math/MathML'><mi>&beta;</mi></math><span class='maruku-eq-tex'><code style='display: none'>\beta</code></span></div><div class='maruku-equation'><math class='maruku-mathml' display='block' xmlns='http://www.w3.org/1998/Math/MathML'><mi>&gamma;</mi></math><span class='maruku-eq-tex'><code style='display: none'>\gamma</code></span></div>
34
29
  *** Output of to_latex ***
35
30
  \begin{equation}
36
31
  \alpha
@@ -52,59 +47,11 @@ md_el(:document,[
52
47
 
53
48
 
54
49
 
50
+ OK!
55
51
 
56
- Failed tests: [:to_html]
57
-
58
- *** Output of inspect ***
59
- md_el(:document,[
60
- md_el(:equation,[],{:label=>"eq1",:math=>"\t\\alpha\n\n",:num=>1},[]),
61
- md_el(:equation,[],{:label=>nil,:math=>"\t\\alpha\n\n",:num=>nil},[]),
62
- md_el(:equation,[],{:label=>nil,:math=>" \\beta\n",:num=>nil},[]),
63
- md_el(:equation,[],{:label=>nil,:math=>" \\gamma ",:num=>nil},[])
64
- ],{},[])
65
- *** Output of to_html ***
66
- -----| WARNING | -----
67
- <div class='maruku-equation' id='eq:eq1'><span class='maruku-eq-number'>(1)</span><code class='maruku-mathml'> \alpha
68
-
69
- </code><div class='maruku-eq-tex'><code style='display: none'> \alpha
70
-
71
- </code></div></div><div class='maruku-equation'><code class='maruku-mathml'> \alpha
72
-
73
- </code><div class='maruku-eq-tex'><code style='display: none'> \alpha
74
-
75
- </code></div></div><div class='maruku-equation'><code class='maruku-mathml'> \beta
76
- </code><div class='maruku-eq-tex'><code style='display: none'> \beta
77
- </code></div></div><div class='maruku-equation'><code class='maruku-mathml'> \gamma </code><div class='maruku-eq-tex'><code style='display: none'> \gamma </code></div></div>
78
- *** Output of to_latex ***
79
- \begin{equation}
80
- \alpha
81
- \label{eq1}\end{equation}
82
- \begin{displaymath}
83
- \alpha
84
- \end{displaymath}
85
- \begin{displaymath}
86
- \beta
87
- \end{displaymath}
88
- \begin{displaymath}
89
- \gamma
90
- \end{displaymath}
91
- *** Output of to_md ***
92
52
 
93
- *** Output of to_s ***
94
53
 
95
54
  *** Output of Markdown.pl ***
96
- <p>[
97
- \alpha
98
- ]</p>
99
-
100
- <p>\begin{equation}
101
- \alpha
102
- \end{equation}</p>
103
-
104
- <p>\begin{equation} \beta
105
- \end{equation}</p>
106
-
107
- <p>\begin{equation} \gamma \end{equation}</p>
108
-
55
+ (not used anymore)
109
56
  *** Output of Markdown.pl (parsed) ***
110
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
57
+ (not used anymore)
@@ -32,9 +32,6 @@ This is not $math$.[ \alpha ]
32
32
 
33
33
 
34
34
  *** Output of Markdown.pl ***
35
- <p>This is not $math$.</p>
36
-
37
- <p>[ \alpha ]</p>
38
-
35
+ (not used anymore)
39
36
  *** Output of Markdown.pl (parsed) ***
40
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
37
+ (not used anymore)
@@ -1,6 +1,6 @@
1
1
  Write a comment here
2
2
  *** Parameters: ***
3
- {}
3
+ require 'maruku/ext/math';{:html_math_engine => 'itex2mml' }
4
4
  *** Markdown input: ***
5
5
  <table markdown='1'>
6
6
  $\alpha$
@@ -13,8 +13,8 @@ md_el(:document,[
13
13
  md_html("<table markdown='1'>\n\t$\\alpha$\n\t<thead>\n\t\t<td>$\\beta$</td>\n\t</thead>\n</table>")
14
14
  ],{},[])
15
15
  *** Output of to_html ***
16
- <table><span class='maruku-inline'><code class='maruku-mathml'>\alpha</code></span><thead>
17
- <td><span class='maruku-inline'><code class='maruku-mathml'>\beta</code></span></td>
16
+ <table><math class='maruku-mathml' display='inline' xmlns='http://www.w3.org/1998/Math/MathML'><mi>&alpha;</mi></math><thead>
17
+ <td><math class='maruku-mathml' display='inline' xmlns='http://www.w3.org/1998/Math/MathML'><mi>&beta;</mi></math></td>
18
18
  </thead>
19
19
  </table>
20
20
  *** Output of to_latex ***
@@ -32,12 +32,6 @@ md_el(:document,[
32
32
 
33
33
 
34
34
  *** Output of Markdown.pl ***
35
- <table markdown='1'>
36
- $\alpha$
37
- <thead>
38
- <td>$\beta$</td>
39
- </thead>
40
- </table>
41
-
35
+ (not used anymore)
42
36
  *** Output of Markdown.pl (parsed) ***
43
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
37
+ (not used anymore)
@@ -49,12 +49,6 @@ SymbolMeaningcomments The firstI like it. The firstI like it.
49
49
 
50
50
 
51
51
  *** Output of Markdown.pl ***
52
- <p>Symbol | Meaning | comments
53
- ------------|---------|---------
54
- {:r} &alpha; | The first | I like it.
55
- {:r} &aleph; | The first | I like it.</p>
56
-
57
- <p>{:r: scope='row'}</p>
58
-
52
+ (not used anymore)
59
53
  *** Output of Markdown.pl (parsed) ***
60
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
54
+ (not used anymore)
@@ -532,84 +532,6 @@ GeneralOperating System : Mac OS X: heaven, after the purgatory of Linux and the
532
532
 
533
533
 
534
534
  *** Output of Markdown.pl ***
535
- <p>Subject: Software not painful to use
536
- Subject_short: painless software
537
- Topic: /misc/coolsw
538
- Archive: no
539
- Date: Nov 20 2006
540
- Order: -9.5
541
- inMenu: true</p>
542
-
543
- <h3>General</h3>
544
-
545
- <ul>
546
- <li><em>Operating System</em> : <a href="http://www.apple.com/getamac/">Mac OS X</a>: heaven, after the purgatory of Linux
547
- and the hell of Windows.</li>
548
- <li><em>Browser</em>: <a href="http://getfirefox.com/">Firefox</a>. On a Mac, <a href="http://www.caminobrowser.org/">Camino</a>.</li>
549
- <li><em>Email</em>: <a href="http://gmail.com/">GMail</a>, "search, don't sort" really works.</li>
550
- <li><em>Text Editor</em>: <a href="http://www.apple.com/getamac/">TextMate</a>, you have to buy it, but it's worth every
551
- penny. There are rumours that it's been converting (recovering) Emacs
552
- users (addicts). Unfortunately, it's Mac only. An alternative is
553
- <a href="http://www.jedit.org/">jedit</a> (GPL, Java).</li>
554
- </ul>
555
-
556
- <h3>Development</h3>
557
-
558
- <ul>
559
- <li><em>Build system</em>: <a href="http://www.cmake.org/">cmake</a>, throw the <a href="http://sources.redhat.com/autobook/">autotools</a> away.</li>
560
- <li><em>Source code control system</em>: ditch CVS for <a href="http://subversion.tigris.org">subversion</a>.</li>
561
- <li><em>Project management</em>: <a href="http://trac.edgewall.org/">Trac</a> tracks everything.</li>
562
- <li><p><em>Scripting language</em>: <a href="http://www.ruby-lang.org/">Ruby</a> is Japanese pragmatism (and has a <a href="http://poignantguide.net/ruby/">poignant</a> guide).
563
- Python, you say? Python is too academic and snob:</p>
564
-
565
- <p>$ python <br />
566
- Python 2.4.1 (#1, Jun 4 2005, 00:54:33)
567
- Type "help", "copyright", "credits" or "license" for more information.</p>
568
-
569
- <blockquote>
570
- <blockquote>
571
- <blockquote>
572
- <p>exit
573
- 'Use Ctrl-D (i.e. EOF) to exit.'
574
- quit
575
- 'Use Ctrl-D (i.e. EOF) to exit.'</p>
576
- </blockquote>
577
- </blockquote>
578
- </blockquote></li>
579
- <li><p><em>Java IDE</em>: <a href="http://www.borland.com/us/products/jbuilder/index.html">JBuilder</a> is great software and has a free version (IMHO better than Eclipse). Java
580
- is not a pain anymore since it gained <a href="http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html">generics</a> and got opensourced.</p></li>
581
- <li><em>Mark-up language</em>: HTML is so 2001, why don't you take at look at <a href="http://en.wikipedia.org/wiki/Markdown">Markdown</a>? <a href="data/misc_markdown.png">Look at the source of this page</a>.</li>
582
- <li><em>C++ libraries</em>:
583
- <ul>
584
- <li><a href="http://www.trolltech.no/">QT</a> for GUIs.</li>
585
- <li><a href="http://www.gnu.org/software/gsl/">GSL</a> for math.</li>
586
- <li><a href="http://www.imagemagick.org/Magick++/">Magick++</a> for manipulating images.</li>
587
- <li><a href="http://cairographics.org/">Cairo</a> for creating PDFs.</li>
588
- <li><a href="http://www.boost.org/">Boost</a> for just about everything else.</li>
589
- </ul></li>
590
- </ul>
591
-
592
- <h3>Research</h3>
593
-
594
- <ul>
595
- <li><em>Writing papers</em>: <a href="http://en.wikipedia.org/wiki/LaTeX">LaTeX</a></li>
596
- <li><em>Writing papers &amp; enjoying the process</em>: <a href="http://www.lyx.org">LyX</a></li>
597
- <li><em>Handsome figures in your papers</em>: <a href="http://www.xfig.org/">xfig</a> or, better, <a href="http://tams-www.informatik.uni-hamburg.de/applets/jfig/">jfig</a>.</li>
598
- <li><em>The occasional presentation with many graphical content</em>:
599
- <a href="http://www.openoffice.org/product/impress.html">OpenOffice Impress</a> (using the <a href="http://ooolatex.sourceforge.net/">OOOlatex plugin</a>);
600
- the alternative is PowerPoint with the <a href="http://texpoint.necula.org/">TexPoint</a> plugin.</li>
601
- <li><em>Managing BibTeX</em>: <a href="http://jabref.sourceforge.net/">jabref</a>: multi-platform, for all your bibtex needs.</li>
602
- <li><em>IEEExplore and BibTeX</em>: convert citations using <a href="http://www.bibconverter.net/ieeexplore/">BibConverter</a>.</li>
603
- </ul>
604
-
605
- <h3>Cool websites</h3>
606
-
607
- <ul>
608
- <li><em>Best site in the wwworld</em>: <a href="http://en.wikipedia.org/">Wikipedia</a></li>
609
- <li><a href="http://www.mutopiaproject.org/">Mutopia</a> for sheet music; <a href="http://www.gutenberg.org/">the Gutenberg Project</a> for books; <a href="http://www.liberliber.it/">LiberLiber</a> for books in italian.</li>
610
- <li><em>Blogs</em>: <a href="http://bloglines.com/">Bloglines</a></li>
611
- <li><em>Sharing photos</em>: <a href="http://www.flickr.com/">flickr</a> exposes an API you can use.</li>
612
- </ul>
613
-
535
+ (not used anymore)
614
536
  *** Output of Markdown.pl (parsed) ***
615
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
537
+ (not used anymore)
@@ -28,9 +28,6 @@ md_el(:document,[md_par([md_code("\\\\")]), md_par([md_code("\\")])],{},[])
28
28
 
29
29
 
30
30
  *** Output of Markdown.pl ***
31
- <p><code>\\</code></p>
32
-
33
- <p><code>\</code></p>
34
-
31
+ (not used anymore)
35
32
  *** Output of Markdown.pl (parsed) ***
36
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
33
+ (not used anymore)
@@ -65,17 +65,6 @@ ParagraphheaderParagraphheaderParagraphheader
65
65
 
66
66
 
67
67
  *** Output of Markdown.pl ***
68
- <p>Paragraph</p>
69
-
70
- <h3>header</h3>
71
-
72
- <p>Paragraph</p>
73
-
74
- <h2>header</h2>
75
-
76
- <p>Paragraph</p>
77
-
78
- <h1>header</h1>
79
-
68
+ (not used anymore)
80
69
  *** Output of Markdown.pl (parsed) ***
81
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
70
+ (not used anymore)
@@ -25,7 +25,6 @@ md_el(:document,[md_par([md_code("There is a literal backtick (`) here.")])],{},
25
25
 
26
26
 
27
27
  *** Output of Markdown.pl ***
28
- <p><code>There is a literal backtick (`) here.</code></p>
29
-
28
+ (not used anymore)
30
29
  *** Output of Markdown.pl (parsed) ***
31
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
30
+ (not used anymore)
@@ -164,43 +164,6 @@ Paragraph, list with no space: * ciaoParagraph, list with 1 space: * ciaoParagra
164
164
 
165
165
 
166
166
  *** Output of Markdown.pl ***
167
- <p>Paragraph, list with no space:
168
- * ciao</p>
169
-
170
- <p>Paragraph, list with 1 space:
171
- * ciao</p>
172
-
173
- <p>Paragraph, list with 3 space:
174
- * ciao</p>
175
-
176
- <p>Paragraph, list with 4 spaces:
177
- * ciao</p>
178
-
179
- <p>Paragraph, list with 1 tab:
180
- * ciao</p>
181
-
182
- <p>Paragraph (1 space after), list with no space:
183
- * ciao</p>
184
-
185
- <p>Paragraph (2 spaces after), list with no space: <br />
186
- * ciao</p>
187
-
188
- <p>Paragraph (3 spaces after), list with no space: <br />
189
- * ciao</p>
190
-
191
- <p>Paragraph with block quote:</p>
192
-
193
- <blockquote>
194
- <p>Quoted</p>
195
- </blockquote>
196
-
197
- <p>Paragraph with header:</p>
198
-
199
- <h3>header</h3>
200
-
201
- <p>Paragraph with header on two lines:</p>
202
-
203
- <h2>header</h2>
204
-
167
+ (not used anymore)
205
168
  *** Output of Markdown.pl (parsed) ***
206
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
169
+ (not used anymore)
@@ -52,13 +52,6 @@ This is a list:onetwothree
52
52
 
53
53
 
54
54
  *** Output of Markdown.pl ***
55
- <p>This is a list:</p>
56
-
57
- <ol>
58
- <li>one</li>
59
- <li>two</li>
60
- <li>three</li>
61
- </ol>
62
-
55
+ (not used anymore)
63
56
  *** Output of Markdown.pl (parsed) ***
64
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
57
+ (not used anymore)
@@ -22,7 +22,6 @@ One line
22
22
 
23
23
 
24
24
  *** Output of Markdown.pl ***
25
- <p>One line</p>
26
-
25
+ (not used anymore)
27
26
  *** Output of Markdown.pl (parsed) ***
28
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
27
+ (not used anymore)
@@ -23,7 +23,6 @@ Paragraph
23
23
 
24
24
 
25
25
  *** Output of Markdown.pl ***
26
- <p>Paragraph</p>
27
-
26
+ (not used anymore)
28
27
  *** Output of Markdown.pl (parsed) ***
29
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
28
+ (not used anymore)
@@ -49,9 +49,6 @@ ParagraphParagraphParagraph
49
49
 
50
50
 
51
51
  *** Output of Markdown.pl ***
52
- <p>Paragraph
53
- Paragraph
54
- Paragraph</p>
55
-
52
+ (not used anymore)
56
53
  *** Output of Markdown.pl (parsed) ***
57
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
54
+ (not used anymore)
@@ -31,9 +31,6 @@ Paragraph1Paragraph2
31
31
 
32
32
 
33
33
  *** Output of Markdown.pl ***
34
- <p>Paragraph1</p>
35
-
36
- <p>Paragraph2</p>
37
-
34
+ (not used anymore)
38
35
  *** Output of Markdown.pl (parsed) ***
39
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
36
+ (not used anymore)
@@ -53,14 +53,6 @@ Paragraph 1Paragraph 2Paragraph 3 Paragraph 4 Paragraph Br->Paragraph 5
53
53
 
54
54
 
55
55
  *** Output of Markdown.pl ***
56
- <p>Paragraph 1</p>
57
-
58
- <p>Paragraph 2</p>
59
-
60
- <p>Paragraph 3
61
- Paragraph 4
62
- Paragraph Br-> <br />
63
- Paragraph 5</p>
64
-
56
+ (not used anymore)
65
57
  *** Output of Markdown.pl (parsed) ***
66
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
58
+ (not used anymore)
@@ -22,8 +22,6 @@ md_el(:document,[md_el(:code,[],{:raw_code=>"@articles.map(&:title)"},[])],{},[]
22
22
 
23
23
 
24
24
  *** Output of Markdown.pl ***
25
- <pre><code>@articles.map(&amp;:title)
26
- </code></pre>
27
-
25
+ (not used anymore)
28
26
  *** Output of Markdown.pl (parsed) ***
29
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
27
+ (not used anymore)
@@ -44,10 +44,6 @@ B&&X\\
44
44
 
45
45
 
46
46
  *** Output of Markdown.pl ***
47
- <p>| | 1 | 2 |
48
- |----|----|----|
49
- | A | X | |
50
- | B | | X |</p>
51
-
47
+ (not used anymore)
52
48
  *** Output of Markdown.pl (parsed) ***
53
- Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
49
+ (not used anymore)