[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:
parent
301464c4e4
commit
8263e4bfcd
6 changed files with 32 additions and 37 deletions
|
@ -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 & Wesson<a href="../show/Smith+%26+Wesson">?</a></span>',
|
||||
@web.make_link('Smith & Wesson'))
|
||||
|
||||
# optionally using text as the link text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue