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:
Jacques Distler 2008-07-26 04:14:41 -05:00
parent 4e3aefd9d3
commit c427807274
33 changed files with 610 additions and 101 deletions

View 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>

View file

@ -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>

View 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>

View file

@ -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>

View 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>

View file

@ -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>