Blahtex
Sync with latest Maruku. Pave the way for Blahtex (PNG-based math) support (from Ari Stern). (no visible functionality, yet, but that will come)
This commit is contained in:
parent
4e3aefd9d3
commit
c427807274
33 changed files with 610 additions and 101 deletions
55
vendor/plugins/maruku/tests/unittest/divs/div1.html
vendored
Normal file
55
vendor/plugins/maruku/tests/unittest/divs/div1.html
vendored
Normal file
|
@ -0,0 +1,55 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC
|
||||
"-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
|
||||
"http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">
|
||||
<html xmlns:svg='http://www.w3.org/2000/svg' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
|
||||
<head><meta content='application/xhtml+xml;charset=utf-8' http-equiv='Content-type' /><title></title></head>
|
||||
<body>
|
||||
<div>
|
||||
<p>text</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p>text</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p>text</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p>text</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p>text</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p>text</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p>text</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p>text</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p>text</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p>text</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p>text</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p>text</p>
|
||||
</div>
|
||||
</body></html>
|
|
@ -201,4 +201,53 @@ texttexttexttexttexttexttexttexttexttexttexttext
|
|||
<p>=--</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
+--------- | text +----------
|
||||
</p>
|
||||
<p>
|
||||
+--------- |text
|
||||
</p>
|
||||
<p>
|
||||
+-- text
|
||||
</p>
|
||||
<p>
|
||||
=--
|
||||
</p>
|
||||
<p>
|
||||
+--------- | text +----------
|
||||
</p>
|
||||
<p>
|
||||
+--------- |text
|
||||
</p>
|
||||
<p>
|
||||
+-- text
|
||||
</p>
|
||||
<p>
|
||||
=--
|
||||
</p>
|
||||
<p>
|
||||
+--------- | text +----------
|
||||
</p>
|
||||
<p>
|
||||
+--------- |text
|
||||
</p>
|
||||
<p>
|
||||
+-- text
|
||||
</p>
|
||||
<p>
|
||||
=--
|
||||
</p>
|
||||
<p>
|
||||
+--------- | text +----------
|
||||
</p>
|
||||
<p>
|
||||
+--------- |text
|
||||
</p>
|
||||
<p>
|
||||
+-- text
|
||||
</p>
|
||||
<p>
|
||||
=--
|
||||
</p>
|
||||
</div>
|
11
vendor/plugins/maruku/tests/unittest/divs/div2.html
vendored
Normal file
11
vendor/plugins/maruku/tests/unittest/divs/div2.html
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC
|
||||
"-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
|
||||
"http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">
|
||||
<html xmlns:svg='http://www.w3.org/2000/svg' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
|
||||
<head><meta content='application/xhtml+xml;charset=utf-8' http-equiv='Content-type' /><title></title></head>
|
||||
<body>
|
||||
<div>
|
||||
<p>ciao</p>
|
||||
</div>
|
||||
</body></html>
|
|
@ -31,4 +31,8 @@ ciao
|
|||
=--</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
+-- ciao =--
|
||||
</p>
|
||||
</div>
|
17
vendor/plugins/maruku/tests/unittest/divs/div3_nest.html
vendored
Normal file
17
vendor/plugins/maruku/tests/unittest/divs/div3_nest.html
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC
|
||||
"-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
|
||||
"http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">
|
||||
<html xmlns:svg='http://www.w3.org/2000/svg' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
|
||||
<head><meta content='application/xhtml+xml;charset=utf-8' http-equiv='Content-type' /><title></title></head>
|
||||
<body>
|
||||
<div class='warning'>
|
||||
<p>this is the last warning!</p>
|
||||
|
||||
<p>please, go away!</p>
|
||||
|
||||
<div class='menace'>
|
||||
<p>or else terrible things will happen</p>
|
||||
</div>
|
||||
</div>
|
||||
</body></html>
|
|
@ -59,4 +59,12 @@ this is the last warning!please, go away!or else terrible things will happen
|
|||
+---------------------------------------------------</p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
||||
<div>
|
||||
<p>
|
||||
+-----------------------------------{.warning}------ | this is the last
|
||||
warning! | | please, go away! | | +-------------------------------------
|
||||
{.menace} -- | | or else terrible things will happen |
|
||||
+--------------------------------------------------
|
||||
+---------------------------------------------------
|
||||
</p>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue