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 'fileutils'
require 'maruku' require 'maruku'
require 'maruku/ext/math'
require 'zip/zip' require 'zip/zip'
require 'stringsupport' require 'stringsupport'
require 'resolv' require 'resolv'

View file

@ -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/} +