--- bin/gnusave 2003-03-02 08:06:08.000000000 -0500 +++ bin/gnusave.fix 2004-11-18 11:23:45.842158800 -0500 @@ -134,7 +134,7 @@ return; } - $text = &TWiki::decodeSpecialChars( $text ); + $text = &TWiki::Render::decodeSpecialChars( $text ); $text =~ s/ {3}/\t/go; my $meta = ""; @@ -173,7 +173,7 @@ my $editURL = &TWiki::getScriptUrl( $webName, $topic, "edit" ); TWiki::redirect( $query, "$editURL?t=".time() ); } else { - TWiki::redirect( $query, &TWiki::getViewUrl( "", $topic ) ); + TWiki::redirect( $query, &TWiki::getViewUrl( $webName, $topic ) ); } } } @@ -261,7 +261,7 @@ ## ForCairo: $ptext = &TWiki::takeOutVerbatim( $ptext, \@verbatim ); $ptext =~ s/ {3}/\t/go; $ptext = &TWiki::handleCommonTags( $ptext, $topic ); - $ptext = &TWiki::getRenderedVersion( $ptext ); + $ptext = &TWiki::Render::getRenderedVersion( $ptext ); # do not allow click on link before save: $ptext =~ s@(href=".*?")@href="%SCRIPTURLPATH%/oops%SCRIPTSUFFIX%/%WEB%/%TOPIC%\?template=oopspreview"@goi; @@ -270,10 +270,10 @@ $tmpl = &TWiki::handleCommonTags( $tmpl, $topic ); $tmpl = &TWiki::handleMetaTags( $webName, $topic, $tmpl, $meta ); - $tmpl = &TWiki::getRenderedVersion( $tmpl ); + $tmpl = &TWiki::Render::getRenderedVersion( $tmpl ); $tmpl =~ s/%TEXT%/$ptext/go; - $text = &TWiki::encodeSpecialChars( $text ); + $text = &TWiki::Render::encodeSpecialChars( $text ); $tmpl =~ s/%HIDDENTEXT%/$text/go; $tmpl =~ s/%FORMFIELDS%/$formFields/go;