Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki

This commit is contained in:
Jacques Distler 2009-09-13 11:27:01 -05:00
commit e489d77579
2 changed files with 9 additions and 0 deletions

View file

@ -1,5 +1,6 @@
require 'fileutils'
require 'maruku'
require 'maruku/ext/math'
require 'zip/zip'
require 'stringsupport'
require 'resolv'

View file

@ -211,6 +211,14 @@ END_THM
end
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(
%{<p>equation <math class='maruku-mathml' displa} +
%{y='inline' xmlns='http://www.w3.org/1998/Math/} +