REXML is dead. Long live Nokogiri.
Modify Maruku to use Nokogiri instead of REXML. Produces a 3-fold speedup in the #to_html method.
This commit is contained in:
parent
46da1f3aaf
commit
13a522525c
369 changed files with 1703 additions and 16342 deletions
22
vendor/plugins/maruku/spec/block_docs/encoding/iso-8859-1.md
vendored
Normal file
22
vendor/plugins/maruku/spec/block_docs/encoding/iso-8859-1.md
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
Encoding: iso-8859-1
|
||||
|
||||
*** Parameters: ***
|
||||
{}
|
||||
*** Markdown input: ***
|
||||
Encoding: iso-8859-1
|
||||
|
||||
This is iso-8859-1: àèìàù.
|
||||
*** Output of inspect ***
|
||||
md_el(:document,[
|
||||
md_par([
|
||||
"This is iso-8859-1: \303\203\302\240\303\203\302\250\303\203\302\254\303\203\302\240\303\203\302\271."
|
||||
])
|
||||
],{},[])
|
||||
*** Output of to_html ***
|
||||
<p>This is iso-8859-1: àèìàù.</p>
|
||||
*** Output of to_latex ***
|
||||
This is iso-8859-1: à èìà ù.
|
||||
*** Output of to_md ***
|
||||
This is iso-8859-1: à èìà ù.
|
||||
*** Output of to_s ***
|
||||
This is iso-8859-1: à èìà ù.
|
18
vendor/plugins/maruku/spec/block_docs/encoding/utf-8.md
vendored
Normal file
18
vendor/plugins/maruku/spec/block_docs/encoding/utf-8.md
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
Write a comment abouth the test here.
|
||||
*** Parameters: ***
|
||||
{:italian=>"\303\240\303\250\303\254\303\262\303\271."}
|
||||
*** Markdown input: ***
|
||||
Italian: àèìòù.
|
||||
|
||||
Japanese: マルク
|
||||
|
||||
*** Output of inspect ***
|
||||
md_el(:document,[md_par(["Japanese: \343\203\236\343\203\253\343\202\257"])],{},[])
|
||||
*** Output of to_html ***
|
||||
<p>Japanese: マルク</p>
|
||||
*** Output of to_latex ***
|
||||
Japanese: マルク
|
||||
*** Output of to_md ***
|
||||
Japanese: マルク
|
||||
*** Output of to_s ***
|
||||
Japanese: マルク
|
Loading…
Add table
Add a link
Reference in a new issue