Another Bug-fix and some tests
Man, but this needs more tests ... !
This commit is contained in:
parent
12207bc01c
commit
305b37b401
11 changed files with 92 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue