Bundle Latest REXML
Sam Ruby has been doing a bang-up job fixing the bugs in REXML. Who knows when these improvements will trickle down to vendor distributions of Ruby. In the meantime, let's bundle the latest version of REXML with Instiki. We check the version number of the bundled REXML against that of the System REXML, and use whichever is later.
This commit is contained in:
parent
1085168bbf
commit
38ae064b8a
146 changed files with 11105 additions and 136 deletions
|
@ -69,4 +69,17 @@ The HTML specification is maintained by the W3C.Operation Tigra Genesis is going
|
|||
<p>*[Tigra Genesis]:</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
The HTML specification is maintained by the W3C.
|
||||
</p>
|
||||
<p>
|
||||
*[HTML]: Hyper Text Markup Language *[W3C]: World Wide Web Consortium
|
||||
</p>
|
||||
<p>
|
||||
Operation Tigra Genesis is going well.
|
||||
</p>
|
||||
<p>
|
||||
*[Tigra Genesis]:
|
||||
</p>
|
||||
</div>
|
6
vendor/plugins/maruku/tests/unittest/alt.md
vendored
6
vendor/plugins/maruku/tests/unittest/alt.md
vendored
|
@ -27,4 +27,8 @@ bar
|
|||
<p><img src="/foo.jpg" alt="bar" title="" /></p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
<img title='' src='/foo.jpg' alt='bar'/>
|
||||
</p>
|
||||
</div>
|
|
@ -31,4 +31,8 @@ md_el(:document,[
|
|||
{:b: a}</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
{a}: a {:b: a}
|
||||
</p>
|
||||
</div>
|
|
@ -42,4 +42,11 @@ Paragraph1Paragraph2
|
|||
Paragraph2</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Paragraph1 {:#par1}
|
||||
</p>
|
||||
<p>
|
||||
{:#par2} Paragraph2
|
||||
</p>
|
||||
</div>
|
|
@ -79,4 +79,27 @@ Header with attributesHeader with attributesHeader no attributesParagraph with a
|
|||
<p>{:hello: .chello}</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<h2>
|
||||
Header with attributes {#header1}
|
||||
</h2>
|
||||
<h3>
|
||||
Header with attributes ### {#header2}
|
||||
</h3>
|
||||
<h3>
|
||||
Header no attributes
|
||||
</h3>
|
||||
<p>
|
||||
{:warn2}Paragraph with a. {#par1}
|
||||
</p>
|
||||
<p>
|
||||
Paragraph with
|
||||
<em>
|
||||
emphasis
|
||||
</em>
|
||||
{:hello notfound} {#par2}
|
||||
</p>
|
||||
<p>
|
||||
{:hello: .chello}
|
||||
</p>
|
||||
</div>
|
|
@ -40,4 +40,11 @@ Paragraph
|
|||
{:b: a}</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Paragraph {:a}
|
||||
</p>
|
||||
<p>
|
||||
{:a: b} {:b: a}
|
||||
</p>
|
||||
</div>
|
|
@ -35,4 +35,11 @@ Paragraph2
|
|||
<p>{paragraph}: .maruku-par</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Paragraph2 {#2}
|
||||
</p>
|
||||
<p>
|
||||
{paragraph}: .maruku-par
|
||||
</p>
|
||||
</div>
|
|
@ -36,4 +36,11 @@ Linea 1Linea 2
|
|||
<p>Linea 2</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Linea 1
|
||||
</p>
|
||||
<p>
|
||||
Linea 2
|
||||
</p>
|
||||
</div>
|
|
@ -103,4 +103,29 @@ four
|
|||
</code></pre>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
This block is composed of three lines:
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
one three
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
This block is composed of 5
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
one four
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
This block is composed of 2
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
two
|
||||
</code>
|
||||
</pre>
|
||||
</div>
|
|
@ -26,4 +26,8 @@ test:
|
|||
<p>[test][]:</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
[test][]:
|
||||
</p>
|
||||
</div>
|
|
@ -64,4 +64,15 @@ hellohh c1c2
|
|||
<p>{:t: scope="row"}</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
hello {: summary="Table summary" .class1 style="color:red"}
|
||||
</p>
|
||||
<p>
|
||||
h | h ----------|-- {:t} c1 | c2 {: summary="Table summary" .class1
|
||||
style="color:red"}
|
||||
</p>
|
||||
<p>
|
||||
{:t: scope="row"}
|
||||
</p>
|
||||
</div>
|
11
vendor/plugins/maruku/tests/unittest/code.md
vendored
11
vendor/plugins/maruku/tests/unittest/code.md
vendored
|
@ -50,4 +50,13 @@ end tell
|
|||
</code></pre>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Here is an example of AppleScript:
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
tell application "Foo" beep end tell tab
|
||||
</code>
|
||||
</pre>
|
||||
</div>
|
13
vendor/plugins/maruku/tests/unittest/code2.md
vendored
13
vendor/plugins/maruku/tests/unittest/code2.md
vendored
|
@ -43,4 +43,15 @@ Code
|
|||
</blockquote>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<blockquote>
|
||||
<p>
|
||||
Code
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
Ciao
|
||||
</code>
|
||||
</pre>
|
||||
</blockquote>
|
||||
</div>
|
35
vendor/plugins/maruku/tests/unittest/code3.md
vendored
35
vendor/plugins/maruku/tests/unittest/code3.md
vendored
|
@ -99,4 +99,37 @@ This is code (4 spaces):This is not codeThis is code (1 tab):This is not code
|
|||
</code></pre>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
This is code (4 spaces):
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
Code
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
This is not code
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
Code
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
This is code (1 tab):
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
Code
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
This is not code
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
Code
|
||||
</code>
|
||||
</pre>
|
||||
</div>
|
|
@ -39,4 +39,10 @@ ijkl</li>
|
|||
</ol>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<ol>
|
||||
<li>
|
||||
abcd efgh ijkl
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
13
vendor/plugins/maruku/tests/unittest/easy.md
vendored
13
vendor/plugins/maruku/tests/unittest/easy.md
vendored
|
@ -25,4 +25,15 @@ Hello! how are you?
|
|||
<p><em>Hello!</em> how are <strong>you</strong>?</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
<em>
|
||||
Hello!
|
||||
</em>
|
||||
how are
|
||||
<strong>
|
||||
you
|
||||
</strong>
|
||||
?
|
||||
</p>
|
||||
</div>
|
|
@ -27,7 +27,7 @@ This is an email address:
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>This is an email address: <a href="mailto:andrea@invalid.it">andrea@invalid.it</a></p>
|
||||
<p>This is an email address: <a href="mailto:andrea@invalid.it">andrea@invalid.it</a></p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
Error: #<TypeError: no implicit conversion from nil to integer>
|
||||
|
|
|
@ -35,4 +35,11 @@ This is iso-8859-1: à èìà ù.
|
|||
<p>This is iso-8859-1: àèìàù.</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Encoding: iso-8859-1
|
||||
</p>
|
||||
<p>
|
||||
This is iso-8859-1: àèìàù.
|
||||
</p>
|
||||
</div>
|
|
@ -30,4 +30,11 @@ Japanese: マルク
|
|||
<p>Japanese: マルク</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Italian: àèìòù.
|
||||
</p>
|
||||
<p>
|
||||
Japanese: マルク
|
||||
</p>
|
||||
</div>
|
47
vendor/plugins/maruku/tests/unittest/entities.md
vendored
47
vendor/plugins/maruku/tests/unittest/entities.md
vendored
|
@ -121,4 +121,49 @@ Maruku translates HTML entities to the equivalent in LaTeX:EntityResultabEntity-
|
|||
<p>It should read just like this: <code>&copy;</code>.</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Maruku translates HTML entities to the equivalent in LaTeX:
|
||||
</p>
|
||||
<p>
|
||||
Entity | Result ------------|----------
|
||||
<code>
|
||||
&copy;
|
||||
</code>
|
||||
| ©
|
||||
<code>
|
||||
&pound;
|
||||
</code>
|
||||
| £
|
||||
<code>
|
||||
a&nbsp;b
|
||||
</code>
|
||||
| a b
|
||||
<code>
|
||||
&lambda;
|
||||
</code>
|
||||
| λ
|
||||
<code>
|
||||
&mdash;
|
||||
</code>
|
||||
| —
|
||||
</p>
|
||||
<p>
|
||||
Entity-substitution does not happen in code blocks or inline code.
|
||||
</p>
|
||||
<p>
|
||||
The following should not be translated:
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
&copy;
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
It should read just like this:
|
||||
<code>
|
||||
&copy;
|
||||
</code>
|
||||
.
|
||||
</p>
|
||||
</div>
|
52
vendor/plugins/maruku/tests/unittest/escaping.md
vendored
52
vendor/plugins/maruku/tests/unittest/escaping.md
vendored
|
@ -74,7 +74,7 @@ Hello: ! ! ` { } [ ] ( ) # . ! * * *Ora, emphasis, bold, * <- due asterischi-> *
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Hello: ! ! ` { } [ ] ( ) # . ! * * *</p>
|
||||
<p>Hello: ! ! ` { } <math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><merror><mtext></mtext></merror></math> ( ) # . ! * * *</p>
|
||||
|
||||
<p>Ora, <em>emphasis</em>, <strong>bold</strong>, * <- due asterischi-> * , un underscore-> _ , <em>emphasis</em>,
|
||||
incre<em>dible</em>e!</p>
|
||||
|
@ -86,4 +86,52 @@ Hello: ! ! ` { } [ ] ( ) # . ! * * *Ora, emphasis, bold, * <- due asterischi-> *
|
|||
<p>End of <code>paragraph</code></p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Hello: ! ! ` { }
|
||||
<math display='block' xmlns='http://www.w3.org/1998/Math/MathML'>
|
||||
<merror>
|
||||
<mtext/>
|
||||
</merror>
|
||||
</math>
|
||||
( ) # . ! * * *
|
||||
</p>
|
||||
<p>
|
||||
Ora,
|
||||
<em>
|
||||
emphasis
|
||||
</em>
|
||||
,
|
||||
<strong>
|
||||
bold
|
||||
</strong>
|
||||
, * <- due asterischi-> * , un underscore-> _ ,
|
||||
<em>
|
||||
emphasis
|
||||
</em>
|
||||
, incre
|
||||
<em>
|
||||
dible
|
||||
</em>
|
||||
e!
|
||||
</p>
|
||||
<p>
|
||||
This is
|
||||
<code>
|
||||
Code with a special: -> ` <-
|
||||
</code>
|
||||
(after)
|
||||
</p>
|
||||
<p>
|
||||
<code>
|
||||
Start
|
||||
</code>
|
||||
of paragraph
|
||||
</p>
|
||||
<p>
|
||||
End of
|
||||
<code>
|
||||
paragraph
|
||||
</code>
|
||||
</p>
|
||||
</div>
|
12
vendor/plugins/maruku/tests/unittest/extra_dl.md
vendored
12
vendor/plugins/maruku/tests/unittest/extra_dl.md
vendored
|
@ -69,4 +69,14 @@ ApplePomaceous fruit of plants of the genus Malus in the family Rosaceae.OrangeT
|
|||
: The fruit of an evergreen tree of the genus Citrus.</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
CSS: style.css
|
||||
</p>
|
||||
<p>
|
||||
Apple : Pomaceous fruit of plants of the genus Malus in the family Rosaceae.
|
||||
</p>
|
||||
<p>
|
||||
Orange : The fruit of an evergreen tree of the genus Citrus.
|
||||
</p>
|
||||
</div>
|
|
@ -83,4 +83,30 @@ Header 1Header 2Header 3Then you can create links to different parts of the same
|
|||
<a href="#header3">Link back to header 3</a></p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<h1>
|
||||
Header 1 {#header1}
|
||||
</h1>
|
||||
<h2>
|
||||
Header 2 {#header2}
|
||||
</h2>
|
||||
<h3>
|
||||
Header 3 ### {#header3}
|
||||
</h3>
|
||||
<p>
|
||||
Then you can create links to different parts of the same document like this:
|
||||
</p>
|
||||
<p>
|
||||
<a href='#header1'>
|
||||
Link back to header 1
|
||||
</a>
|
||||
,
|
||||
<a href='#header2'>
|
||||
Link back to header 2
|
||||
</a>
|
||||
,
|
||||
<a href='#header3'>
|
||||
Link back to header 3
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
|
@ -52,4 +52,12 @@ Content Cell | Content Cell
|
|||
Content Cell | Content Cell</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
CSS: style.css
|
||||
</p>
|
||||
<p>
|
||||
First Header | Second Header ------------- | ------------- Content Cell |
|
||||
Content Cell Content Cell | Content Cell
|
||||
</p>
|
||||
</div>
|
|
@ -123,4 +123,30 @@ This is second sentence (same paragraph).</p>
|
|||
<p>This is not a footnote.</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
That's some text with a footnote [^b] and another [^c] and another [^a].
|
||||
</p>
|
||||
<p>
|
||||
[^a]: And that's the footnote.
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
That's the second paragraph of the footnote.
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
[^b]: And that's the footnote. This is second sentence (same paragraph).
|
||||
</p>
|
||||
<p>
|
||||
[^c]: This is the very long one.
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
That's the second paragraph.
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
This is not a footnote.
|
||||
</p>
|
||||
</div>
|
21
vendor/plugins/maruku/tests/unittest/headers.md
vendored
21
vendor/plugins/maruku/tests/unittest/headers.md
vendored
|
@ -51,4 +51,23 @@ A title with emphasisA title with emphasisA title with emphasis
|
|||
<h4>A title with <em>emphasis</em></h4>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<h1>
|
||||
A title with
|
||||
<em>
|
||||
emphasis
|
||||
</em>
|
||||
</h1>
|
||||
<h2>
|
||||
A title with
|
||||
<em>
|
||||
emphasis
|
||||
</em>
|
||||
</h2>
|
||||
<h4>
|
||||
A title with
|
||||
<em>
|
||||
emphasis
|
||||
</em>
|
||||
</h4>
|
||||
</div>
|
|
@ -47,4 +47,10 @@ Examples of numeric character references include or for the copyright symbol,
|
|||
<p>Examples of numeric character references include © or © for the copyright symbol, Α or Α for the Greek capital letter alpha, and ا or ا for the Arabic letter alef.</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Examples of numeric character references include © or © for the
|
||||
copyright symbol, Α or Α for the Greek capital letter alpha, and
|
||||
ا or ا for the Arabic letter alef.
|
||||
</p>
|
||||
</div>
|
|
@ -57,4 +57,10 @@ md_el(:document,[
|
|||
<hr />
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<hr/>
|
||||
<hr/>
|
||||
<hr/>
|
||||
<hr/>
|
||||
<hr/>
|
||||
</div>
|
12
vendor/plugins/maruku/tests/unittest/html2.md
vendored
12
vendor/plugins/maruku/tests/unittest/html2.md
vendored
|
@ -35,4 +35,14 @@ One 123
|
|||
<p><div></div>123</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
One
|
||||
<div/>
|
||||
123
|
||||
</p>
|
||||
<p>
|
||||
<div/>
|
||||
123
|
||||
</p>
|
||||
</div>
|
22
vendor/plugins/maruku/tests/unittest/html3.md
vendored
22
vendor/plugins/maruku/tests/unittest/html3.md
vendored
|
@ -44,4 +44,24 @@ involve <b href="http://www.flickr.com/photos/censi/70893277/">coffee</b>,
|
|||
<a href="http://www.flickr.com/photos/censi/42775888/in/set-936677/">sushi</a>,</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
taking part in
|
||||
<a href='http://sied.dis.uniroma1.it/'>
|
||||
some arcane conspirations
|
||||
</a>
|
||||
which involve
|
||||
<b href='http://www.flickr.com/photos/censi/70893277/'>
|
||||
coffee
|
||||
</b>
|
||||
,
|
||||
<a href='http://flickr.com/photos/censi/42775664/in/set-936677/'>
|
||||
robots
|
||||
</a>
|
||||
,
|
||||
<a href='http://www.flickr.com/photos/censi/42775888/in/set-936677/'>
|
||||
sushi
|
||||
</a>
|
||||
,
|
||||
</p>
|
||||
</div>
|
|
@ -39,4 +39,10 @@ md_el(:document,[
|
|||
</div>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<div class='frame'>
|
||||
<a href='http://www.flickr.com/photos/censi/54757256/' class='photo'>
|
||||
<img src='http://static.flickr.com/27/54757256_1a2c1d2a95_m.jpg' moz-do-not-send='true' alt=''/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
10
vendor/plugins/maruku/tests/unittest/html5.md
vendored
10
vendor/plugins/maruku/tests/unittest/html5.md
vendored
|
@ -35,4 +35,12 @@ md_el(:document,[
|
|||
</div></p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
<div class='frame'>
|
||||
<a href='http://www.flickr.com/photos/censi/88561568/' class='photo'>
|
||||
<img src='http://static.flickr.com/28/88561568_ab84d28245_m.jpg' height='180' moz-do-not-send='true' alt='Aperitif' width='240'/>
|
||||
</a>
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
48
vendor/plugins/maruku/tests/unittest/ie.md
vendored
48
vendor/plugins/maruku/tests/unittest/ie.md
vendored
|
@ -79,4 +79,50 @@ md_el(:document,[
|
|||
<p>{:html<em>use</em>syntax=true lang=xml}</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
<code>
|
||||
<p>here's an apostrophe & a quote "</p>
|
||||
</code>
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
<p>here's an apostrophe & a quote "</p>
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
{:}
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
<p>here's an apostrophe & a quote "</p>
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
{:lang=xml}
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
<p>here's an apostrophe & a quote "</p>
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
{:html
|
||||
<em>
|
||||
use
|
||||
</em>
|
||||
syntax=true lang=not_supported}
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
<p>here's an apostrophe & a quote "</p>
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
{:html
|
||||
<em>
|
||||
use
|
||||
</em>
|
||||
syntax=true lang=xml}
|
||||
</p>
|
||||
</div>
|
26
vendor/plugins/maruku/tests/unittest/images.md
vendored
26
vendor/plugins/maruku/tests/unittest/images.md
vendored
|
@ -111,4 +111,28 @@ This page does not uilizes Cascading Style SheetsPlease mouseover to see the tit
|
|||
style="border:0;width:188px;height:131px"</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
This page does not uilizes
|
||||
<img title='' src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Cascading Style Sheets'/>
|
||||
</p>
|
||||
<p>
|
||||
Please mouseover to see the title:
|
||||
<img title='Title ok!' src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Cascading Style Sheets'/>
|
||||
</p>
|
||||
<p>
|
||||
Please mouseover to see the title:
|
||||
<img title='Title ok!' src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Cascading Style Sheets'/>
|
||||
</p>
|
||||
<p>
|
||||
I'll say it one more time: this page does not use
|
||||
<img title='Optional title attribute' src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Cascading Style Sheets'/>
|
||||
</p>
|
||||
<p>
|
||||
This is double size: ![Cascading Style Sheets] [css2]
|
||||
</p>
|
||||
<p>
|
||||
[css2]: http://jigsaw.w3.org/css-validator/images/vcss "Optional title
|
||||
attribute" class=external style="border:0;width:188px;height:131px"
|
||||
</p>
|
||||
</div>
|
11
vendor/plugins/maruku/tests/unittest/images2.md
vendored
11
vendor/plugins/maruku/tests/unittest/images2.md
vendored
|
@ -43,4 +43,13 @@ This is an image.This is an image.
|
|||
<p>This is an ![image].</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
This is an
|
||||
<img src='image.jpg' alt='image'/>
|
||||
.
|
||||
</p>
|
||||
<p>
|
||||
This is an ![image].
|
||||
</p>
|
||||
</div>
|
|
@ -238,16 +238,16 @@ Line:
|
|||
Position:
|
||||
Last 80 unconsumed characters:
|
||||
<div markdown="1"> This is *true* markdown text (paragraph) <p markdow>
|
||||
/sw/lib/ruby/1.8/rexml/parsers/baseparser.rb:320:in `pull'
|
||||
/sw/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
|
||||
/sw/lib/ruby/1.8/rexml/document.rb:190:in `build'
|
||||
/sw/lib/ruby/1.8/rexml/document.rb:45:in `initialize'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:320:in `pull'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/document.rb:204:in `build'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/document.rb:42:in `initialize'
|
||||
bin/marutest:200:in `new'
|
||||
bin/marutest:200:in `run_test'
|
||||
bin/marutest:263:in `marutest'
|
||||
bin/marutest:260:in `each'
|
||||
bin/marutest:260:in `marutest'
|
||||
bin/marutest:335
|
||||
bin/marutest:275:in `marutest'
|
||||
bin/marutest:272:in `each'
|
||||
bin/marutest:272:in `marutest'
|
||||
bin/marutest:347
|
||||
...
|
||||
Missing end tag for 'img' (got "p")
|
||||
Line:
|
||||
|
|
|
@ -33,4 +33,11 @@ md_el(:document,[
|
|||
<p markdown="1">Test **bold**</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<div markdown='1'>
|
||||
Test **bold**
|
||||
</div>
|
||||
<p markdown='1'>
|
||||
Test **bold**
|
||||
</p>
|
||||
</div>
|
18
vendor/plugins/maruku/tests/unittest/links.md
vendored
18
vendor/plugins/maruku/tests/unittest/links.md
vendored
|
@ -162,7 +162,7 @@ Search on GoogleSearch on GoogleSearch on GoogleSearch on GoogleSearch on Google
|
|||
|
||||
<p>Inline with title: <a href="http://google.com "Title"">Google images</a></p>
|
||||
|
||||
<p>Search on <a href="http://www.gogole.com">http://www.gogole.com</a> or <a href="http://Here.com">http://Here.com</a> or ask <a href="mailto:bill@google.com">bill@google.com</a>
|
||||
<p>Search on <a href="http://www.gogole.com">http://www.gogole.com</a> or <a href="http://Here.com">http://Here.com</a> or ask <a href="mailto:bill@google.com">bill@google.com</a>
|
||||
or you might ask bill@google.com.</p>
|
||||
|
||||
<p>If all else fails, ask <a href="http://www.google.com">Google</a></p>
|
||||
|
@ -175,16 +175,16 @@ Line:
|
|||
Position:
|
||||
Last 80 unconsumed characters:
|
||||
>
|
||||
/sw/lib/ruby/1.8/rexml/parsers/baseparser.rb:320:in `pull'
|
||||
/sw/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
|
||||
/sw/lib/ruby/1.8/rexml/document.rb:190:in `build'
|
||||
/sw/lib/ruby/1.8/rexml/document.rb:45:in `initialize'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:320:in `pull'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/document.rb:204:in `build'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/document.rb:42:in `initialize'
|
||||
bin/marutest:200:in `new'
|
||||
bin/marutest:200:in `run_test'
|
||||
bin/marutest:263:in `marutest'
|
||||
bin/marutest:260:in `each'
|
||||
bin/marutest:260:in `marutest'
|
||||
bin/marutest:335
|
||||
bin/marutest:275:in `marutest'
|
||||
bin/marutest:272:in `each'
|
||||
bin/marutest:272:in `marutest'
|
||||
bin/marutest:347
|
||||
...
|
||||
Missing end tag for 'p' (got "div")
|
||||
Line:
|
||||
|
|
15
vendor/plugins/maruku/tests/unittest/list1.md
vendored
15
vendor/plugins/maruku/tests/unittest/list1.md
vendored
|
@ -63,4 +63,17 @@ A list item with a blockquote:This is a blockquote inside a list item.
|
|||
</ul>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
A list item with a blockquote:
|
||||
</p>
|
||||
<blockquote>
|
||||
<p>
|
||||
This is a blockquote inside a list item.
|
||||
</p>
|
||||
</blockquote>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
20
vendor/plugins/maruku/tests/unittest/list2.md
vendored
20
vendor/plugins/maruku/tests/unittest/list2.md
vendored
|
@ -73,4 +73,22 @@ sit amet, consectetuer adipiscing elit.</p></li>
|
|||
</ul>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
This is a list item with two paragraphs.
|
||||
</p>
|
||||
<p>
|
||||
This is the second paragraph in the list item. You're only required to
|
||||
indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing
|
||||
elit.
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
other
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
25
vendor/plugins/maruku/tests/unittest/list3.md
vendored
25
vendor/plugins/maruku/tests/unittest/list3.md
vendored
|
@ -85,4 +85,27 @@ A list item with a blockquote:This is a blockquote inside a list item.A list ite
|
|||
</ul>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
A list item with a blockquote:
|
||||
</p>
|
||||
<blockquote>
|
||||
<p>
|
||||
This is a blockquote inside a list item.
|
||||
</p>
|
||||
</blockquote>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
A list item with a code block:
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
<code goes here>
|
||||
</code>
|
||||
</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
15
vendor/plugins/maruku/tests/unittest/list4.md
vendored
15
vendor/plugins/maruku/tests/unittest/list4.md
vendored
|
@ -113,4 +113,17 @@ ciao</p>
|
|||
ciao</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
This is a list: * one * two
|
||||
</p>
|
||||
<p>
|
||||
This is not a list: * one ciao
|
||||
</p>
|
||||
<p>
|
||||
This is a list: 1. one 1. two
|
||||
</p>
|
||||
<p>
|
||||
This is not a list: 1987. one ciao
|
||||
</p>
|
||||
</div>
|
67
vendor/plugins/maruku/tests/unittest/lists.md
vendored
67
vendor/plugins/maruku/tests/unittest/lists.md
vendored
|
@ -238,4 +238,69 @@ sit amet, consectetuer adipiscing elit.</p></li>
|
|||
</ul>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<ul>
|
||||
<li>
|
||||
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit
|
||||
mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet
|
||||
vitae, risus.
|
||||
</li>
|
||||
<li>
|
||||
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem
|
||||
consectetuer libero luctus adipiscing.
|
||||
</li>
|
||||
<li>
|
||||
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem
|
||||
consectetuer libero luctus adipiscing.
|
||||
<ul>
|
||||
<li>
|
||||
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id
|
||||
sem consectetuer libero luctus adipiscing.
|
||||
</li>
|
||||
<li>
|
||||
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id
|
||||
sem consectetuer libero luctus adipiscing.
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Ancora
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
This is a list item with two paragraphs. Lorem ipsum dolor sit amet,
|
||||
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
|
||||
</p>
|
||||
<p>
|
||||
ATTENZIONE!
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
Suspendisse id sem consectetuer libero luctus adipiscing.
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Ancora
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
This is a list item with two paragraphs.
|
||||
</p>
|
||||
<p>
|
||||
This is the second paragraph in the list item. You're only required to
|
||||
indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing
|
||||
elit.
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
Another item in the same list.
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
|
@ -28,4 +28,10 @@ md_el(:document,[md_par(["- \316\255\316\275\316\261"])],{},[])
|
|||
</ul>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<ul>
|
||||
<li>
|
||||
ένα
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
|
@ -51,4 +51,4 @@ md_el(:document,[],{},[])
|
|||
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div/>:REXML::Element>
|
||||
<div/>
|
21
vendor/plugins/maruku/tests/unittest/lists7.md
vendored
21
vendor/plugins/maruku/tests/unittest/lists7.md
vendored
|
@ -76,4 +76,23 @@ CiaoTab * Tab * Tab
|
|||
</ul>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Ciao
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Tab
|
||||
<ul>
|
||||
<li>
|
||||
Tab
|
||||
<ul>
|
||||
<li>
|
||||
Tab
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
19
vendor/plugins/maruku/tests/unittest/lists7b.md
vendored
19
vendor/plugins/maruku/tests/unittest/lists7b.md
vendored
|
@ -133,4 +133,21 @@ aa1a2b
|
|||
</ul>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<ul>
|
||||
<li>
|
||||
a
|
||||
<ul>
|
||||
<li>
|
||||
a1
|
||||
</li>
|
||||
<li>
|
||||
a2
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
b
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
17
vendor/plugins/maruku/tests/unittest/lists8.md
vendored
17
vendor/plugins/maruku/tests/unittest/lists8.md
vendored
|
@ -80,4 +80,19 @@ Here is a paragraph.* Item 1 * Item 2 * Item 3
|
|||
</ul>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Here is a paragraph.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Item 1
|
||||
</li>
|
||||
<li>
|
||||
Item 2
|
||||
</li>
|
||||
<li>
|
||||
Item 3
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
22
vendor/plugins/maruku/tests/unittest/lists9.md
vendored
22
vendor/plugins/maruku/tests/unittest/lists9.md
vendored
|
@ -82,4 +82,24 @@ DuetretretreDue
|
|||
</ul>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<ul>
|
||||
<li>
|
||||
Due
|
||||
<ol>
|
||||
<li>
|
||||
tre
|
||||
</li>
|
||||
<li>
|
||||
tre
|
||||
</li>
|
||||
<li>
|
||||
tre
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
Due
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
|
@ -265,4 +265,85 @@ Paragraph, list with no space: * ciaoParagraph, list with 1 space: * ciaoParagra
|
|||
<p>Paragraph with html after, indented: <em>Emphasis <em>tralla</em> Emph</em></p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Paragraph, list with no space: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph, list with 1 space: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph, list with 3 space: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph, list with 4 spaces: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph, list with 1 tab: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph (1 space after), list with no space: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph (2 spaces after), list with no space:
|
||||
<br/>
|
||||
* ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph (3 spaces after), list with no space:
|
||||
<br/>
|
||||
* ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph with block quote:
|
||||
</p>
|
||||
<blockquote>
|
||||
<p>
|
||||
Quoted
|
||||
</p>
|
||||
</blockquote>
|
||||
<p>
|
||||
Paragraph with header:
|
||||
</p>
|
||||
<h3>
|
||||
header
|
||||
</h3>
|
||||
<p>
|
||||
Paragraph with header on two lines:
|
||||
</p>
|
||||
<h2>
|
||||
header
|
||||
</h2>
|
||||
<p>
|
||||
Paragraph with html after
|
||||
</p>
|
||||
<div/>
|
||||
<p>
|
||||
Paragraph with html after, indented:
|
||||
<em>
|
||||
Emphasis
|
||||
</em>
|
||||
</p>
|
||||
<p>
|
||||
Paragraph with html after, indented:
|
||||
<em>
|
||||
Emphasis
|
||||
</em>
|
||||
<em>
|
||||
tralla
|
||||
</em>
|
||||
<em>
|
||||
Emph
|
||||
</em>
|
||||
</p>
|
||||
<p>
|
||||
Paragraph with html after, indented:
|
||||
<em>
|
||||
Emphasis
|
||||
<em>
|
||||
tralla
|
||||
</em>
|
||||
Emph
|
||||
</em>
|
||||
</p>
|
||||
</div>
|
91
vendor/plugins/maruku/tests/unittest/lists_ol.md
vendored
91
vendor/plugins/maruku/tests/unittest/lists_ol.md
vendored
|
@ -321,4 +321,93 @@ sit amet, consectetuer adipiscing elit.</p></li>
|
|||
</ul>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<ol>
|
||||
<li>
|
||||
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit
|
||||
mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet
|
||||
vitae, risus.
|
||||
<ol>
|
||||
<li>
|
||||
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id
|
||||
sem consectetuer libero luctus adipiscing.
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem
|
||||
consectetuer libero luctus adipiscing.
|
||||
<ol>
|
||||
<li>
|
||||
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id
|
||||
sem consectetuer libero luctus adipiscing.
|
||||
</li>
|
||||
<li>
|
||||
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id
|
||||
sem consectetuer libero luctus adipiscing.
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
</ol>
|
||||
<p>
|
||||
Ancora
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>
|
||||
This is a list item with two paragraphs. Lorem ipsum dolor sit amet,
|
||||
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
|
||||
</p>
|
||||
<p>
|
||||
ATTENZIONE!
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Uno
|
||||
</li>
|
||||
<li>
|
||||
Due
|
||||
<ol>
|
||||
<li>
|
||||
tre
|
||||
</li>
|
||||
<li>
|
||||
tre
|
||||
</li>
|
||||
<li>
|
||||
tre
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
Due
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
Suspendisse id sem consectetuer libero luctus adipiscing.
|
||||
</p>
|
||||
</li>
|
||||
</ol>
|
||||
<p>
|
||||
Ancora
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
This is a list item with two paragraphs.
|
||||
</p>
|
||||
<p>
|
||||
This is the second paragraph in the list item. You're only required to
|
||||
indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing
|
||||
elit.
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
Another item in the same list.
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
7
vendor/plugins/maruku/tests/unittest/loss.md
vendored
7
vendor/plugins/maruku/tests/unittest/loss.md
vendored
|
@ -26,4 +26,9 @@ md_el(:document,[md_html("<br />")],{},[])
|
|||
<p><br/>123</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
<br/>
|
||||
123
|
||||
</p>
|
||||
</div>
|
|
@ -54,16 +54,58 @@ $$ x = y $$$$ x$$ x = y $$$$ x = y $$
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>$$ x = y $$</p>
|
||||
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><mi>x</mi><mo>=</mo><mi>y</mi></math>
|
||||
|
||||
<p>$$ x
|
||||
= y $$</p>
|
||||
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><mi>x</mi><mo>=</mo><mi>y</mi></math>
|
||||
|
||||
<p>$$
|
||||
x = y $$</p>
|
||||
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><mi>x</mi><mo>=</mo><mi>y</mi></math>
|
||||
|
||||
<p>$$ x = y
|
||||
$$</p>
|
||||
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><mi>x</mi><mo>=</mo><mi>y</mi></math>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<math display='block' xmlns='http://www.w3.org/1998/Math/MathML'>
|
||||
<mi>
|
||||
x
|
||||
</mi>
|
||||
<mo>
|
||||
=
|
||||
</mo>
|
||||
<mi>
|
||||
y
|
||||
</mi>
|
||||
</math>
|
||||
<math display='block' xmlns='http://www.w3.org/1998/Math/MathML'>
|
||||
<mi>
|
||||
x
|
||||
</mi>
|
||||
<mo>
|
||||
=
|
||||
</mo>
|
||||
<mi>
|
||||
y
|
||||
</mi>
|
||||
</math>
|
||||
<math display='block' xmlns='http://www.w3.org/1998/Math/MathML'>
|
||||
<mi>
|
||||
x
|
||||
</mi>
|
||||
<mo>
|
||||
=
|
||||
</mo>
|
||||
<mi>
|
||||
y
|
||||
</mi>
|
||||
</math>
|
||||
<math display='block' xmlns='http://www.w3.org/1998/Math/MathML'>
|
||||
<mi>
|
||||
x
|
||||
</mi>
|
||||
<mo>
|
||||
=
|
||||
</mo>
|
||||
<mi>
|
||||
y
|
||||
</mi>
|
||||
</math>
|
||||
</div>
|
|
@ -91,11 +91,61 @@ Here are some formulas:Thats it, nothing else is supported.
|
|||
<p>Here are some formulas:</p>
|
||||
|
||||
<ul>
|
||||
<li>$\alpha$</li>
|
||||
<li>$x^{n}+y^{n} \neq z^{n}$</li>
|
||||
<li><math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><mi>α</mi></math></li>
|
||||
<li><math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><msup><mi>x</mi> <mi>n</mi></msup><mo>+</mo><msup><mi>y</mi> <mi>n</mi></msup><mo>≠</mo><msup><mi>z</mi> <mi>n</mi></msup></math></li>
|
||||
</ul>
|
||||
|
||||
<p>That's it, nothing else is supported.</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Here are some formulas:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<math display='inline' xmlns='http://www.w3.org/1998/Math/MathML'>
|
||||
<mi>
|
||||
α
|
||||
</mi>
|
||||
</math>
|
||||
</li>
|
||||
<li>
|
||||
<math display='inline' xmlns='http://www.w3.org/1998/Math/MathML'>
|
||||
<msup>
|
||||
<mi>
|
||||
x
|
||||
</mi>
|
||||
<mi>
|
||||
n
|
||||
</mi>
|
||||
</msup>
|
||||
<mo>
|
||||
+
|
||||
</mo>
|
||||
<msup>
|
||||
<mi>
|
||||
y
|
||||
</mi>
|
||||
<mi>
|
||||
n
|
||||
</mi>
|
||||
</msup>
|
||||
<mo>
|
||||
≠
|
||||
</mo>
|
||||
<msup>
|
||||
<mi>
|
||||
z
|
||||
</mi>
|
||||
<mi>
|
||||
n
|
||||
</mi>
|
||||
</msup>
|
||||
</math>
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
That's it, nothing else is supported.
|
||||
</p>
|
||||
</div>
|
|
@ -57,9 +57,7 @@ md_el(:document,[
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>[
|
||||
\alpha
|
||||
]</p>
|
||||
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><mi>α</mi></math>
|
||||
|
||||
<p>\begin{equation}
|
||||
\alpha
|
||||
|
@ -71,4 +69,19 @@ md_el(:document,[
|
|||
<p>\begin{equation} \gamma \end{equation}</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<math display='block' xmlns='http://www.w3.org/1998/Math/MathML'>
|
||||
<mi>
|
||||
α
|
||||
</mi>
|
||||
</math>
|
||||
<p>
|
||||
\begin{equation} \alpha \end{equation}
|
||||
</p>
|
||||
<p>
|
||||
\begin{equation} \beta \end{equation}
|
||||
</p>
|
||||
<p>
|
||||
\begin{equation} \gamma \end{equation}
|
||||
</p>
|
||||
</div>
|
|
@ -32,9 +32,24 @@ This is not $math$.[ \alpha ]
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>This is not $math$.</p>
|
||||
<p>This is not <math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><mi>math</mi></math>.</p>
|
||||
|
||||
<p>[ \alpha ]</p>
|
||||
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><mi>α</mi></math>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
This is not
|
||||
<math display='inline' xmlns='http://www.w3.org/1998/Math/MathML'>
|
||||
<mi>
|
||||
math
|
||||
</mi>
|
||||
</math>
|
||||
.
|
||||
</p>
|
||||
<math display='block' xmlns='http://www.w3.org/1998/Math/MathML'>
|
||||
<mi>
|
||||
α
|
||||
</mi>
|
||||
</math>
|
||||
</div>
|
|
@ -48,11 +48,28 @@ md_el(:document,[
|
|||
|
||||
*** Output of Markdown.pl ***
|
||||
<table markdown='1'>
|
||||
$\alpha$
|
||||
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><mi>α</mi></math>
|
||||
<thead>
|
||||
<td>$\beta$</td>
|
||||
<td><math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><mi>β</mi></math></td>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<table markdown='1'>
|
||||
<math display='inline' xmlns='http://www.w3.org/1998/Math/MathML'>
|
||||
<mi>
|
||||
α
|
||||
</mi>
|
||||
</math>
|
||||
<thead>
|
||||
<td>
|
||||
<math display='inline' xmlns='http://www.w3.org/1998/Math/MathML'>
|
||||
<mi>
|
||||
β
|
||||
</mi>
|
||||
</math>
|
||||
</td>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
|
@ -57,4 +57,12 @@ SymbolMeaningcomments The firstI like it. The firstI like it.
|
|||
<p>{:r: scope='row'}</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Symbol | Meaning | comments ------------|---------|--------- {:r} α |
|
||||
The first | I like it. {:r} ℵ | The first | I like it.
|
||||
</p>
|
||||
<p>
|
||||
{:r: scope='row'}
|
||||
</p>
|
||||
</div>
|
324
vendor/plugins/maruku/tests/unittest/misc_sw.md
vendored
324
vendor/plugins/maruku/tests/unittest/misc_sw.md
vendored
|
@ -612,4 +612,326 @@ the alternative is PowerPoint with the <a href="http://texpoint.necula.org/">Tex
|
|||
</ul>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Subject: Software not painful to use Subject_short: painless software Topic:
|
||||
/misc/coolsw Archive: no Date: Nov 20 2006 Order: -9.5 inMenu: true
|
||||
</p>
|
||||
<h3>
|
||||
General
|
||||
</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<em>
|
||||
Operating System
|
||||
</em>
|
||||
:
|
||||
<a href='http://www.apple.com/getamac/'>
|
||||
Mac OS X
|
||||
</a>
|
||||
: heaven, after the purgatory of Linux and the hell of Windows.
|
||||
</li>
|
||||
<li>
|
||||
<em>
|
||||
Browser
|
||||
</em>
|
||||
:
|
||||
<a href='http://getfirefox.com/'>
|
||||
Firefox
|
||||
</a>
|
||||
. On a Mac,
|
||||
<a href='http://www.caminobrowser.org/'>
|
||||
Camino
|
||||
</a>
|
||||
.
|
||||
</li>
|
||||
<li>
|
||||
<em>
|
||||
Email
|
||||
</em>
|
||||
:
|
||||
<a href='http://gmail.com/'>
|
||||
GMail
|
||||
</a>
|
||||
, "search, don't sort" really works.
|
||||
</li>
|
||||
<li>
|
||||
<em>
|
||||
Text Editor
|
||||
</em>
|
||||
:
|
||||
<a href='http://www.apple.com/getamac/'>
|
||||
TextMate
|
||||
</a>
|
||||
, you have to buy it, but it's worth every penny. There are rumours that it's
|
||||
been converting (recovering) Emacs users (addicts). Unfortunately, it's Mac
|
||||
only. An alternative is
|
||||
<a href='http://www.jedit.org/'>
|
||||
jedit
|
||||
</a>
|
||||
(GPL, Java).
|
||||
</li>
|
||||
</ul>
|
||||
<h3>
|
||||
Development
|
||||
</h3>
|
||||
<ul>
|
||||
<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>
|
||||
<li>
|
||||
<em>
|
||||
Source code control system
|
||||
</em>
|
||||
: ditch CVS for
|
||||
<a href='http://subversion.tigris.org'>
|
||||
subversion
|
||||
</a>
|
||||
.
|
||||
</li>
|
||||
<li>
|
||||
<em>
|
||||
Project management
|
||||
</em>
|
||||
:
|
||||
<a href='http://trac.edgewall.org/'>
|
||||
Trac
|
||||
</a>
|
||||
tracks everything.
|
||||
</li>
|
||||
<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). Python, you say? Python is too academic and snob:
|
||||
</p>
|
||||
<p>
|
||||
$ python
|
||||
<br/>
|
||||
Python 2.4.1 (#1, Jun 4 2005, 00:54:33) Type "help", "copyright", "credits"
|
||||
or "license" for more information.
|
||||
</p>
|
||||
<blockquote>
|
||||
<blockquote>
|
||||
<blockquote>
|
||||
<p>
|
||||
exit 'Use Ctrl-D (i.e. EOF) to exit.' quit 'Use Ctrl-D (i.e. EOF) to
|
||||
exit.'
|
||||
</p>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
</li>
|
||||
<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
|
||||
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>
|
||||
<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>
|
||||
<li>
|
||||
<em>
|
||||
C++ libraries
|
||||
</em>
|
||||
:
|
||||
<ul>
|
||||
<li>
|
||||
<a href='http://www.trolltech.no/'>
|
||||
QT
|
||||
</a>
|
||||
for GUIs.
|
||||
</li>
|
||||
<li>
|
||||
<a href='http://www.gnu.org/software/gsl/'>
|
||||
GSL
|
||||
</a>
|
||||
for math.
|
||||
</li>
|
||||
<li>
|
||||
<a href='http://www.imagemagick.org/Magick++/'>
|
||||
Magick++
|
||||
</a>
|
||||
for manipulating images.
|
||||
</li>
|
||||
<li>
|
||||
<a href='http://cairographics.org/'>
|
||||
Cairo
|
||||
</a>
|
||||
for creating PDFs.
|
||||
</li>
|
||||
<li>
|
||||
<a href='http://www.boost.org/'>
|
||||
Boost
|
||||
</a>
|
||||
for just about everything else.
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h3>
|
||||
Research
|
||||
</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<em>
|
||||
Writing papers
|
||||
</em>
|
||||
:
|
||||
<a href='http://en.wikipedia.org/wiki/LaTeX'>
|
||||
LaTeX
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<em>
|
||||
Writing papers & enjoying the process
|
||||
</em>
|
||||
:
|
||||
<a href='http://www.lyx.org'>
|
||||
LyX
|
||||
</a>
|
||||
</li>
|
||||
<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>
|
||||
<li>
|
||||
<em>
|
||||
The occasional presentation with many graphical content
|
||||
</em>
|
||||
:
|
||||
<a href='http://www.openoffice.org/product/impress.html'>
|
||||
OpenOffice Impress
|
||||
</a>
|
||||
(using the
|
||||
<a href='http://ooolatex.sourceforge.net/'>
|
||||
OOOlatex plugin
|
||||
</a>
|
||||
); the alternative is PowerPoint with the
|
||||
<a href='http://texpoint.necula.org/'>
|
||||
TexPoint
|
||||
</a>
|
||||
plugin.
|
||||
</li>
|
||||
<li>
|
||||
<em>
|
||||
Managing BibTeX
|
||||
</em>
|
||||
:
|
||||
<a href='http://jabref.sourceforge.net/'>
|
||||
jabref
|
||||
</a>
|
||||
: multi-platform, for all your bibtex needs.
|
||||
</li>
|
||||
<li>
|
||||
<em>
|
||||
IEEExplore and BibTeX
|
||||
</em>
|
||||
: convert citations using
|
||||
<a href='http://www.bibconverter.net/ieeexplore/'>
|
||||
BibConverter
|
||||
</a>
|
||||
.
|
||||
</li>
|
||||
</ul>
|
||||
<h3>
|
||||
Cool websites
|
||||
</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<em>
|
||||
Best site in the wwworld
|
||||
</em>
|
||||
:
|
||||
<a href='http://en.wikipedia.org/'>
|
||||
Wikipedia
|
||||
</a>
|
||||
</li>
|
||||
<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>
|
||||
<li>
|
||||
<em>
|
||||
Blogs
|
||||
</em>
|
||||
:
|
||||
<a href='http://bloglines.com/'>
|
||||
Bloglines
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<em>
|
||||
Sharing photos
|
||||
</em>
|
||||
:
|
||||
<a href='http://www.flickr.com/'>
|
||||
flickr
|
||||
</a>
|
||||
exposes an API you can use.
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
|
@ -33,4 +33,15 @@ md_el(:document,[md_par([md_code("\\\\")]), md_par([md_code("\\")])],{},[])
|
|||
<p><code>\</code></p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
<code>
|
||||
\\
|
||||
</code>
|
||||
</p>
|
||||
<p>
|
||||
<code>
|
||||
\
|
||||
</code>
|
||||
</p>
|
||||
</div>
|
|
@ -78,4 +78,23 @@ ParagraphheaderParagraphheaderParagraphheader
|
|||
<h1>header</h1>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Paragraph
|
||||
</p>
|
||||
<h3>
|
||||
header
|
||||
</h3>
|
||||
<p>
|
||||
Paragraph
|
||||
</p>
|
||||
<h2>
|
||||
header
|
||||
</h2>
|
||||
<p>
|
||||
Paragraph
|
||||
</p>
|
||||
<h1>
|
||||
header
|
||||
</h1>
|
||||
</div>
|
|
@ -28,4 +28,10 @@ md_el(:document,[md_par([md_code("There is a literal backtick (`) here.")])],{},
|
|||
<p><code>There is a literal backtick (`) here.</code></p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
<code>
|
||||
There is a literal backtick (`) here.
|
||||
</code>
|
||||
</p>
|
||||
</div>
|
|
@ -203,4 +203,53 @@ Paragraph, list with no space: * ciaoParagraph, list with 1 space: * ciaoParagra
|
|||
<h2>header</h2>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Paragraph, list with no space: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph, list with 1 space: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph, list with 3 space: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph, list with 4 spaces: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph, list with 1 tab: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph (1 space after), list with no space: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph (2 spaces after), list with no space:
|
||||
<br/>
|
||||
* ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph (3 spaces after), list with no space:
|
||||
<br/>
|
||||
* ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph with block quote:
|
||||
</p>
|
||||
<blockquote>
|
||||
<p>
|
||||
Quoted
|
||||
</p>
|
||||
</blockquote>
|
||||
<p>
|
||||
Paragraph with header:
|
||||
</p>
|
||||
<h3>
|
||||
header
|
||||
</h3>
|
||||
<p>
|
||||
Paragraph with header on two lines:
|
||||
</p>
|
||||
<h2>
|
||||
header
|
||||
</h2>
|
||||
</div>
|
17
vendor/plugins/maruku/tests/unittest/olist.md
vendored
17
vendor/plugins/maruku/tests/unittest/olist.md
vendored
|
@ -61,4 +61,19 @@ This is a list:onetwothree
|
|||
</ol>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
This is a list:
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
one
|
||||
</li>
|
||||
<li>
|
||||
two
|
||||
</li>
|
||||
<li>
|
||||
three
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
6
vendor/plugins/maruku/tests/unittest/one.md
vendored
6
vendor/plugins/maruku/tests/unittest/one.md
vendored
|
@ -25,4 +25,8 @@ One line
|
|||
<p>One line</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
One line
|
||||
</p>
|
||||
</div>
|
|
@ -26,4 +26,8 @@ Paragraph
|
|||
<p>Paragraph</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Paragraph
|
||||
</p>
|
||||
</div>
|
|
@ -54,4 +54,8 @@ Paragraph
|
|||
Paragraph</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Paragraph Paragraph Paragraph
|
||||
</p>
|
||||
</div>
|
|
@ -36,4 +36,11 @@ Paragraph1Paragraph2
|
|||
<p>Paragraph2</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Paragraph1
|
||||
</p>
|
||||
<p>
|
||||
Paragraph2
|
||||
</p>
|
||||
</div>
|
|
@ -63,4 +63,16 @@ Paragraph Br-> <br />
|
|||
Paragraph 5</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Paragraph 1
|
||||
</p>
|
||||
<p>
|
||||
Paragraph 2
|
||||
</p>
|
||||
<p>
|
||||
Paragraph 3 Paragraph 4 Paragraph Br->
|
||||
<br/>
|
||||
Paragraph 5
|
||||
</p>
|
||||
</div>
|
|
@ -25,4 +25,8 @@ Search on Google imagesGoOgle search ]
|
|||
<p>Search on [Google images][ GoOgle search ]</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Search on [Google images][ GoOgle search ]
|
||||
</p>
|
||||
</div>
|
|
@ -85,4 +85,36 @@ inspiration for Markdown's syntax is the format of plain text email.</p>
|
|||
<p>To this end, Markdown's syntax is comprised entirely of punctuation</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
filters -- including
|
||||
<a href='http://docutils.sourceforge.net/mirror/setext.html'>
|
||||
Setext
|
||||
</a>
|
||||
,
|
||||
<a href='http://www.aaronsw.com/2002/atx/'>
|
||||
atx
|
||||
</a>
|
||||
,
|
||||
<a href='http://textism.com/tools/textile/'>
|
||||
Textile
|
||||
</a>
|
||||
,
|
||||
<a href='http://docutils.sourceforge.net/rst.html'>
|
||||
reStructuredText
|
||||
</a>
|
||||
,
|
||||
<a href='http://www.triptico.com/software/grutatxt.html'>
|
||||
Grutatext
|
||||
</a>
|
||||
, and
|
||||
<a href='http://ettext.taint.org/doc/'>
|
||||
EtText
|
||||
</a>
|
||||
-- the single biggest source of inspiration for Markdown's syntax is the
|
||||
format of plain text email.
|
||||
</p>
|
||||
<p>
|
||||
To this end, Markdown's syntax is comprised entirely of punctuation
|
||||
</p>
|
||||
</div>
|
|
@ -25,4 +25,4 @@ md_el(:document,[md_ref_def("6", "http://ettext.taint.org/doc/", {:title=>nil})]
|
|||
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div/>:REXML::Element>
|
||||
<div/>
|
|
@ -149,16 +149,16 @@ Line:
|
|||
Position:
|
||||
Last 80 unconsumed characters:
|
||||
<pre><code>She was 6\"12\'. </code></pre> <blockquote> <p>She was 6\"12\'.</>
|
||||
/sw/lib/ruby/1.8/rexml/parsers/baseparser.rb:320:in `pull'
|
||||
/sw/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
|
||||
/sw/lib/ruby/1.8/rexml/document.rb:190:in `build'
|
||||
/sw/lib/ruby/1.8/rexml/document.rb:45:in `initialize'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:320:in `pull'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/document.rb:204:in `build'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/document.rb:42:in `initialize'
|
||||
bin/marutest:200:in `new'
|
||||
bin/marutest:200:in `run_test'
|
||||
bin/marutest:263:in `marutest'
|
||||
bin/marutest:260:in `each'
|
||||
bin/marutest:260:in `marutest'
|
||||
bin/marutest:335
|
||||
bin/marutest:275:in `marutest'
|
||||
bin/marutest:272:in `each'
|
||||
bin/marutest:272:in `marutest'
|
||||
bin/marutest:347
|
||||
...
|
||||
Missing end tag for 'here' (got "p")
|
||||
Line:
|
||||
|
|
|
@ -63,18 +63,8 @@ This is ruby code:This is ruby code:
|
|||
|
||||
<pre><code>require 'maruku'
|
||||
|
||||
puts Maruku.new($stdin).to_html
|
||||
</code></pre>
|
||||
|
||||
<p>This is ruby code:</p>
|
||||
|
||||
<pre><code>require 'maruku'
|
||||
</code></pre>
|
||||
|
||||
<p>{: lang=ruby html<em>use</em>syntax}</p>
|
||||
|
||||
<pre><code>puts Maruku.new($stdin).to_html
|
||||
puts Maruku.new(<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><mi>stdin</mi><mo stretchy="false">)</mo><mo>.</mo><msub><mi>to</mi> <mi>html</mi></msub><mi>This</mi><mi>is</mi><mi>ruby</mi><mi>code</mi><mo>:</mo><mi>require</mi><mo>&prime;</mo><mi>maruku</mi><mo>&prime;</mo><mrow><mo>:</mo><mi>lang</mi><mo>=</mo><mi>ruby</mi><msub><mi>html</mi> <mi>use</mi></msub><msub><mo></mo><mi>syntax</mi></msub></mrow><mi>puts</mi><mi>Maruku</mi><mo>.</mo><mi>new</mi><mo stretchy="false">(</mo></math>stdin).to_html
|
||||
</code></pre>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
Error: #<TypeError: no implicit conversion from nil to integer>
|
||||
|
|
|
@ -49,4 +49,13 @@ hh c1c2
|
|||
<p>{:t: scope="row"}</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
h | h ----------|-- {:t} c1 | c2 {: summary="Table summary" .class1
|
||||
style="color:red" border=3 width="50%" frame=lhs rules=cols cellspacing=2em
|
||||
cellpadding=4px}
|
||||
</p>
|
||||
<p>
|
||||
{:t: scope="row"}
|
||||
</p>
|
||||
</div>
|
6
vendor/plugins/maruku/tests/unittest/test.md
vendored
6
vendor/plugins/maruku/tests/unittest/test.md
vendored
|
@ -29,4 +29,8 @@ md_el(:document,[md_el(:code,[],{:raw_code=>" $ python "},[])],{},[]
|
|||
<p>$ python </p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
$ python
|
||||
</p>
|
||||
</div>
|
23
vendor/plugins/maruku/tests/unittest/wrapping.md
vendored
23
vendor/plugins/maruku/tests/unittest/wrapping.md
vendored
|
@ -85,4 +85,25 @@ Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet</li>
|
|||
</ul>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem
|
||||
ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum
|
||||
dolor amet. Break:
|
||||
<br/>
|
||||
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem
|
||||
ipsum dolor amet.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem
|
||||
ipsum dolor amet Lorem ipsum Break:
|
||||
<br/>
|
||||
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet
|
||||
</li>
|
||||
<li>
|
||||
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem
|
||||
ipsum dolor amet
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
14
vendor/plugins/maruku/tests/unittest/xml.md
vendored
14
vendor/plugins/maruku/tests/unittest/xml.md
vendored
|
@ -51,4 +51,16 @@ width="600px" height="400px">
|
|||
</svg:svg></p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
<svg:svg/>
|
||||
</p>
|
||||
<p>
|
||||
<svg:svg height='400px' width='600px'>
|
||||
<svg:g id='group'>
|
||||
<svg:circle cy='3cm' id='circ1' r='1cm' cx='3cm' style='fill:red;'/>
|
||||
<svg:circle cy='3cm' id='circ2' r='1cm' cx='7cm' style='fill:red;'/>
|
||||
</svg:g>
|
||||
</svg:svg>
|
||||
</p>
|
||||
</div>
|
6
vendor/plugins/maruku/tests/unittest/xml2.md
vendored
6
vendor/plugins/maruku/tests/unittest/xml2.md
vendored
|
@ -31,4 +31,8 @@ md_el(:document,[md_html("<!--\n<\n-->")],{},[])
|
|||
-->
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<!--
|
||||
<
|
||||
-->
|
||||
</div>
|
11
vendor/plugins/maruku/tests/unittest/xml3.md
vendored
11
vendor/plugins/maruku/tests/unittest/xml3.md
vendored
|
@ -41,4 +41,13 @@ md_el(:document,[
|
|||
</table>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<table markdown='1'>
|
||||
Blah
|
||||
<thead>
|
||||
<td>
|
||||
*em*
|
||||
</td>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
|
@ -69,4 +69,23 @@ Targets Inside: last
|
|||
<p>Inside: <?mrk puts "Inside: Hello" ?> last</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
<? noTarget?>
|
||||
<?php ?>
|
||||
<?xml ?>
|
||||
<?mrk ?>
|
||||
</p>
|
||||
<p>
|
||||
Targets
|
||||
<? noTarget?>
|
||||
<?php ?>
|
||||
<?xml ?>
|
||||
<?mrk ?>
|
||||
</p>
|
||||
<p>
|
||||
Inside:
|
||||
<?mrk puts "Inside: Hello"?>
|
||||
last
|
||||
</p>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue