• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item3852: Problem with call to TWiki::Func::renderText

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension MultiEditPlugin Normal No Action Required TWiki:Main/ThomasWeigert n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Duplicate of Item3847.

As reported by TWiki:Main.HuuDongQuach in TWiki:Plugins.MultiEditPluginDev, MultiEditPlugin is not rendering WORDSINCAPS properly. I noticed that it also caused internal references in the topic (e.g. like [[#MyAnchor][link text]]) to not work.

TWiki:Main.AlexSalimon posted the following fix which seems to fix the problem:

*** lib/TWiki/Plugins/MultiEditPlugin.pm.orig   Wed Jan 31 10:48:44 2007
--- lib/TWiki/Plugins/MultiEditPlugin.pm        Wed Jan 31 10:49:35 2007
***************
*** 163,169 ****
            $state='edit'; $skip = 1; next; }
        if ( $sec eq "" ) {
          $skip = 1;
!         my $tmp = TWiki::Func::renderText($lastsec, $_[1], $_[2]);
          # restore verbatim markers
          $tmp =~ s/\<\!\-\-\!([a-z0-9]+)\!\-\-\>/\<\!\-\-$TWiki::TranslationToken$1$TWiki::TranslationToken\-\-\>/gio;
          my $rText = ( $dontedit )? $tmp : &editRow("$eurl/$web/$topic", $pos, $tmp);
--- 163,169 ----
            $state='edit'; $skip = 1; next; }
        if ( $sec eq "" ) {
          $skip = 1;
!         my $tmp = TWiki::Func::renderText($lastsec, $web);
          # restore verbatim markers
          $tmp =~ s/\<\!\-\-\!([a-z0-9]+)\!\-\-\>/\<\!\-\-$TWiki::TranslationToken$1$TWiki::TranslationToken\-\-\>/gio;
          my $rText = ( $dontedit )? $tmp : &editRow("$eurl/$web/$topic", $pos, $tmp);

-- TWiki:Main.LynnwoodBrown - 06 Apr 2007

ItemTemplate
Summary Problem with call to TWiki::Func::renderText
ReportedBy TWiki:Main.LynnwoodBrown
Codebase 4.1.2
SVN Range TWiki-4.1.2, Fri, 06 Apr 2007, build 13287
AppliesTo Extension
Component MultiEditPlugin
Priority Normal
CurrentState No Action Required
WaitingFor TWiki:Main/ThomasWeigert
Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2007-04-09 - ThomasWeigert
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback