I'd like to see the following paramater added to the plugin rendering calls (outsidePREHandler etc):
Otherwise to avoid linking in these areas the Plugins nneds code for checking for auto linking e.g. explicitly copying it from TWiki.pm.
--
JohnTalintyre - 19 Jul 2001
Some time ago we decided against the
noAutoLink switch, see
DisableWikiWordLinks. We keep the code, but it is not documented in
TextFormattingRules.
Therefore we should not burden the plugin with this extra call. In case a plugin does depend on the
noAutoLink switch, it should be tracked in the plugin.
--
PeterThoeny - 19 Jul 2001
I found that part an attribute in html in a template is now rendered - which doesn't work. I can't use <nop> as the brackets get translated as they're in html. <noautolin> was the only thing I could get to work.
--
JohnTalintyre - 19 Jul 2001
Now I understand why you want this in. TWiki should filter out all
<nop> tags before sending text to the browser, regardless if they are in the topic text or template. Places that don't need to be fixed.
--
PeterThoeny - 19 Jul 2001
The problem is caused by the embedded html part of
getRenderedVersion:
s/\<(\S.*?)\>/$TranslationToken$1$TranslationToken/go;
s/</<\;/go;
s/>/>\;/go;
It text is <a href="..." title="... <nop>TopicName ..."> then first greater than goes to TranslationToken, but this is the one immediately after nop and than at the end of the href, in other words, nesting is ignored.
--
JohnTalintyre - 19 Jul 2001
That is yet another case. The TWiki code should eventually be fixed to escape starting and ending tags correctly.
BTW, I also ran into this problem with the pop up comments in the
InterwikiPlugin. The documented workaround there is to enclose topic names in single quotes, thus escaping the
WikiWords.
--
PeterThoeny - 20 Jul 2001