You are here: Foswiki>Tasks Web>Item5700 (06 Jan 2015, GeorgeClark)Edit Attach

Item5700: INCLUDE raw= and literal= options not implemented consistently

Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release: patch
Applies To: Engine
Component: INCLUDE
Reported By: TWiki:Main.SvenDowideit
Waiting For:
Last Change By: GeorgeClark
They are only implemented for remote includes, even though they would make sense for raw TML use too.

I've also noticed that the implementation of literal is less than ideal - it would be better to implement it by calling takeOutBlock directly, rather than surrounding it with <literal> - as that way you could use literal to save into a topic text.

-- TWiki:Main/SvenDowideit - 13 Jun 2008

especially if you wanted to try to preload a textarea with a literal copy of some other topic's (or external web page's) text - then you get a textarea that contains an un-putBack literal marker.

thus exposing some very internal gumpf to the poor user.

(I actually found this while trying to copy the latest content of a topic to another topic, appending a history on the way - perhaps this should be done via the SaveScript's templatetopic param, but in 4.2.0, this param only works for new topics - something that is also a bug.

-- TWiki:Main.SvenDowideit - 13 Jun 2008

ItemTemplate edit

Summary INCLUDE raw= and literal= options not implemented consistently
ReportedBy TWiki:Main.SvenDowideit
SVN Range TWiki-5.0.0, Sun, 01 Jun 2008, build 16865
AppliesTo Engine
Component INCLUDE
Priority Enhancement
CurrentState Confirmed
TargetRelease patch
ReleasedIn n/a
Topic revision: r3 - 06 Jan 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy