Tags:
create new tag
, view all tags
I'd like to see the following paramater added to the plugin rendering calls (outsidePREHandler etc):
  • noAutoLink

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/</&lt\;/go;
            s/>/&gt\;/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

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2001-09-25 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.