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
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue