]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/parsing_for_WikiWords_should_only_be_done_outside_html_tags.mdwn
remove some links to gitweb
[ikiwiki.git] / doc / bugs / parsing_for_WikiWords_should_only_be_done_outside_html_tags.mdwn
1 When having a link to e.g. http://www.chumba.com/media/Chumbawamba-EnoughIsEnough.mp3 inside an anquor tag ikiwiki seems to parse EnoughIsEnough as WikiWord and breaks the link with that.  As a general rule I would suggest that inside tags there should never be any WikiWord parsing, this is just asking for problems.
2
3 You can see an example of the breakage on <http://wiki.debian-community.org/planets/de/> - scroll down to the Chumbawamba entry.
4
5 >> There's a great workaround for this bug: Disable the
6 >> [[plugins/camelcase]] plugin. :-) I really don't recommend using that
7 >> plugin. _Especially_ not when aggregating third-party content as you do
8 >> in the example.
9 >> 
10 >> Fixing this at the html parsing level would involve making ikiwiki 2
11 >> times slower, not even counting the html parsing overhead, since it
12 >> would have to fully render pages in the "scan" pass.
13 >>
14 >> All I can do is improve the regexp it uses to try to avoid false
15 >> positives. Which I've now [[done]].
16 >> 
17 >> --[[Joey]]