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