Another Bug-fix and some tests

Man, but this needs more tests ... !
This commit is contained in:
Jacques Distler 2009-06-06 21:08:08 -05:00
parent 12207bc01c
commit 305b37b401
11 changed files with 92 additions and 26 deletions

View file

@ -127,7 +127,7 @@ class StubUrlGenerator < AbstractUrlGenerator
def page_link(mode, name, text, web_address, known_page)
link = CGI.escape(name)
case mode.to_sym
case mode
when :export
if known_page then %{<a class="existingWikiWord" href="#{link}.html">#{text}</a>}
else %{<span class="newWikiWord">#{text}</span>} end