Item1074: Remove link from data form table in preview

Priority: Normal
Current State: Closed
Released In: 1.0.1
Target Release: patch
Applies To: Engine
Component:
Branches:
Reported By: ArthurClemens
Waiting For:
Last Change By: KennethLavrsen
Preview strips out links in the topic text, but leaves the links of the form. 'Click' and you're gone, leaving your fresh data behind.

Now stripping can't be done in Preview.pm, as the form template is rendered by Form.pm.

And Form.pm has the nasty habit to render the form topic name %A_TITLE% as broken link web.topic][topic that just needs a template to add the double brackets. But that makes it impossible to not have the link!

Culprit:

$text =~ s/%A_TITLE%/$this->{web}.$this->{topic}][$this->{topic}/g;

-- ArthurClemens - 14 Feb 2009

ItemTemplate edit

Summary Remove link from data form table in preview
ReportedBy ArthurClemens
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:0e03b1b29134
TargetRelease patch
ReleasedIn 1.0.1
Topic revision: r4 - 23 Feb 2009, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License