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

This commit is contained in:
Jacques Distler 2009-03-08 23:31:35 -05:00
commit d4b0831fa1
2 changed files with 12 additions and 0 deletions

View file

@ -964,6 +964,8 @@ class WikiControllerTest < ActionController::TestCase
\re@DeclareMathSymbol{\Perp}{\mathrel}{symbolsC}{121}
\re@DeclareMathSymbol{\Vbar}{\mathrel}{symbolsC}{121}
\re@DeclareMathSymbol{\sslash}{\mathrel}{stmry}{12}
\re@DeclareMathSymbol{\invamp}{\mathrel}{symbolsC}{77}
\re@DeclareMathSymbol{\parr}{\mathrel}{symbolsC}{77}
\makeatother
% Widecheck

View file

@ -207,6 +207,16 @@ END_THM
end
def test_have_latest_itex2mml
# set_web_property :markup, :markdownMML
assert_markup_parsed_as(
%{<p>equation <math class='maruku-mathml' } +
%{display='inline' xmlns='http://www.w3.org/1998/Math/MathML'>} +
%{<mi>A</mi><mo>\342\205\213</mo><mi>B</mi></math></p>},
"equation $A \\invamp B$")
end
def test_markdown_hyperlink_with_slash
# in response to a bug, see http://dev.instiki.org/attachment/ticket/177
set_web_property :markup, :markdown