Allow Periods in Page Names

Thanks to Jeff Zellman.
This commit is contained in:
Jacques Distler 2010-01-26 00:18:30 -06:00
parent cbb3e4b74f
commit bafa7743f1
8 changed files with 11 additions and 40 deletions

View file

@ -131,7 +131,6 @@ class StubUrlGenerator < AbstractUrlGenerator
def page_link(mode, name, text, web_address, known_page)
link = CGI.escape(name)
return %{<span class='wikilink-error'><b>Illegal link (target contains a '.'):</b> #{name}</span>} if name.include?('.')
title = web_address == 'wiki1' ? '' : " title='#{web_address}'"
case mode
when :export