[RESTORES BUILD] Wiki link (in double square brackets) has precedence over autolinking URLs;

contents of wiki links are not passed to markup engines; got rid of bracketing mask method in the 
chunks parser (it was a feature that caused a lot of parsing grief for no good reason)
This commit is contained in:
Alexey Verkhovsky 2005-01-23 05:19:39 +00:00
parent 301464c4e4
commit 8263e4bfcd
6 changed files with 32 additions and 37 deletions

View file

@ -84,7 +84,7 @@ class WebTest < Test::Unit::TestCase
# Escaping special characters in the name
assert_equal(
'<span class="newWikiWord">Smith & Wesson<a href="../show/Smith+%26+Wesson">?</a></span>',
'<span class="newWikiWord">Smith &amp; Wesson<a href="../show/Smith+%26+Wesson">?</a></span>',
@web.make_link('Smith & Wesson'))
# optionally using text as the link text