aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/parsing_for_WikiWords_should_only_be_done_outside_html_tags.mdwn
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-09-28 20:50:20 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-09-28 20:50:20 +0000
commited4b6afc9b3b43e1f7e70ff01a77472c7983a549 (patch)
treece96eb7fc9c360b69e82409961340619f15f9c6c /doc/bugs/parsing_for_WikiWords_should_only_be_done_outside_html_tags.mdwn
parenta75df2a43898bdbcdcc86cd4b3d06040a49574aa (diff)
downloadikiwiki-ed4b6afc9b3b43e1f7e70ff01a77472c7983a549.tar
ikiwiki-ed4b6afc9b3b43e1f7e70ff01a77472c7983a549.tar.gz
* camelcase: Tighten regexp to avoid false positives. WikiWords are only
linkified now if they are preceeded by whitespace.
Diffstat (limited to 'doc/bugs/parsing_for_WikiWords_should_only_be_done_outside_html_tags.mdwn')
-rw-r--r--doc/bugs/parsing_for_WikiWords_should_only_be_done_outside_html_tags.mdwn12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/bugs/parsing_for_WikiWords_should_only_be_done_outside_html_tags.mdwn b/doc/bugs/parsing_for_WikiWords_should_only_be_done_outside_html_tags.mdwn
index 7f108ff12..44938c754 100644
--- a/doc/bugs/parsing_for_WikiWords_should_only_be_done_outside_html_tags.mdwn
+++ b/doc/bugs/parsing_for_WikiWords_should_only_be_done_outside_html_tags.mdwn
@@ -3,7 +3,15 @@ When having a link to e.g. http://www.chumba.com/media/Chumbawamba-EnoughIsEnoug
You can see an example of the breakage on <http://wiki.debian-community.org/planets/de/> - scroll down to the Chumbawamba entry.
>> There's a great workaround for this bug: Disable the
->> [[plugins/camelcase]] plugin. :-)
+>> [[plugins/camelcase]] plugin. :-) I really don't recommend using that
+>> plugin. _Especially_ not when aggregating third-party content as you do
+>> in the example.
+>>
+>> Fixing this at the html parsing level would involve making ikiwiki 2
+>> times slower, not even counting the html parsing overhead, since it
+>> would have to fully render pages in the "scan" pass.
+>>
+>> All I can do is improve the regexp it uses to try to avoid false
+>> positives. Which I've now [[done]].
>>
->> The fix involves modifying its regexp to look for surrounding brackets.
>> --[[Joey]]