Unit test
Add a unit test for previous WikiWord fix.
This commit is contained in:
parent
6873fc8026
commit
e74deb0cfb
|
@ -75,6 +75,11 @@ class PageRendererTest < Test::Unit::TestCase
|
||||||
%{Smart Engine GUI<a href="../show/SmartEngineGUI">?</a></span></p>},
|
%{Smart Engine GUI<a href="../show/SmartEngineGUI">?</a></span></p>},
|
||||||
"#My Headline#\n\nthat SmartEngineGUI")
|
"#My Headline#\n\nthat SmartEngineGUI")
|
||||||
|
|
||||||
|
assert_markup_parsed_as(
|
||||||
|
%{<p>SVG <animateColor title="MathML"><span class="newWikiWord">} +
|
||||||
|
%{Math ML<a href="../show/MathML">?</a></span></animateColor></p>},
|
||||||
|
"SVG <animateColor title='MathML'>MathML</animateColor>")
|
||||||
|
|
||||||
assert_markup_parsed_as(
|
assert_markup_parsed_as(
|
||||||
%{<div class="maruku-equation"><math class="maruku-mathml" display="block" } +
|
%{<div class="maruku-equation"><math class="maruku-mathml" display="block" } +
|
||||||
%{xmlns="http://www.w3.org/1998/Math/MathML"><mi>sin</mi><mo stretchy="false">} +
|
%{xmlns="http://www.w3.org/1998/Math/MathML"><mi>sin</mi><mo stretchy="false">} +
|
||||||
|
|
Loading…
Reference in a new issue