• 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.

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

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal New   patch 4.2.1, 5.0.0

Edit Form Data

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

Detail

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
Summary INCLUDE raw= and literal= options not implemented consistently
ReportedBy TWiki:Main.SvenDowideit
Codebase 4.2.1, ~twiki4
SVN Range TWiki-5.0.0, Sun, 01 Jun 2008, build 16865
AppliesTo Engine
Component

Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease patch
ReleasedIn 4.2.1, 5.0.0
Topic revision: r1 - 2008-06-13 - SvenDowideit
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback