Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
This commit is contained in:
commit
e489d77579
|
@ -1,5 +1,6 @@
|
||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
require 'maruku'
|
require 'maruku'
|
||||||
|
require 'maruku/ext/math'
|
||||||
require 'zip/zip'
|
require 'zip/zip'
|
||||||
require 'stringsupport'
|
require 'stringsupport'
|
||||||
require 'resolv'
|
require 'resolv'
|
||||||
|
|
|
@ -211,6 +211,14 @@ END_THM
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_have_latest_itex2mml
|
def test_have_latest_itex2mml
|
||||||
|
|
||||||
|
assert_markup_parsed_as(
|
||||||
|
%{<p>equation <math class='maruku-mathml' displa} +
|
||||||
|
%{y='inline' xmlns='http://www.w3.org/1998/Math/} +
|
||||||
|
%{MathML'><mi>A</mi><mo>\342\206\255</mo><mi>B</} +
|
||||||
|
%{mi></math></p>},
|
||||||
|
"equation $A \\leftrightsquigarrow B$")
|
||||||
|
|
||||||
assert_markup_parsed_as(
|
assert_markup_parsed_as(
|
||||||
%{<p>equation <math class='maruku-mathml' displa} +
|
%{<p>equation <math class='maruku-mathml' displa} +
|
||||||
%{y='inline' xmlns='http://www.w3.org/1998/Math/} +
|
%{y='inline' xmlns='http://www.w3.org/1998/Math/} +
|
||||||
|
|
Loading…
Reference in a new issue