Bug: Single WikiWord in an HTML table isn't rendered consistently
Test case
<table><tr><td>WikiWord</td></tr></table>
becomes:
<table><tr><td> WikiWord </td></tr></table>
becomes
I suggest a change like this one below to add spaces outside the
WikiWord. Extra space between tags are stripped by (at least my) the browser. The example here is taken from my own plugin development.
$_[0] =~ s/\>\s*($wikiWordRegexp)\s*\</> $1 </g;
Environment
| TWiki version: |
twiki.org |
| TWiki plugins: |
|
| Server OS: |
|
| Web server: |
|
| Perl version: |
|
| Client OS: |
|
| Web Browser: |
|
--
StefanLindmark - 06 Feb 2002
Fix record
This is actually a feature, not a bug. Your suggestion would introduce a whole avalanche of side effects. For example, rendering a WikiWord twice would produce nested links which is not
XHTML conform (text do get rendered twice or more, i.e. with
%INCLUDE{}% or
%SEARCH{}%); or, escaping a WikiWord with
<nop> would no longer work.
--
PeterThoeny - 06 Feb 2002