I've uncovered a few bugs in wiki_transform.php3.
1. The string 'HammondWiki' is in the URL for my PhpWiki. It is also the name
of a page within my PhpWiki. Lines which contain an old-style (bumpy-word)
link followed by an old-style link to HammondWiki get munged. E.g., the
line:
Use FindPage to search HammondWiki.
gets transformed to:
Use <a href="http://www.dairiki.org:80/<a href="http://www.dairiki.org:80/
HammondWiki/index.php3?HammondWiki">HammondWiki</a>/index.php3?FindPage">
FindPage</a> to search <a href="http://www.dairiki.org:80/HammondWiki/index.php
3?HammondWiki">HammondWiki</a>
2. The line
[[Link] produces [Link].
gets munged.
3. '''''Bold italic''' and italic''
yields: <strong><em>Bold italic</strong> and italic</em>.
(Tags not nested properly.)
'''Bold and ''bold-italic'''''
has the same problem.
Fixes for bugs 1 & 2, I think, should be straightforward. (Though I haven't
stared at the wiki_transform code long enough to come up with one.) Bug 3
is somewhat insidious and may not be easily fixable.
Jeff
|