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

Item4359: INCLUDE raw="on" isn't raw

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal No Action Required   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


According to TWiki.TWikiVariables


raw="on" When a page is included, normally TWiki will process it, doing the following: 1) Alter relative links to point back to originating host, 2) Remove some basic HTML tags (html, head, body, script) and finally 3) Remove newlines from tags spanning multiple lines. If you prefer to include exactly what is in the source of the originating page set this to on.

For an internal TWIki page, "raw" should present what I would see if I clicked Raw View for that topic. It doesn't.

See Sandbox.RandomTestTopic26213 and Sandbox.RandomTestTopic7740 for the test files that reproduce this.

The test code in< nop>RandomTestTopic26213

---+!! Random Test Area for Vicki Brown

%INCLUDE{"RandomTestTopic7740" section="BU1"}%

%INCLUDE{"RandomTestTopic7740" section="TO1" raw="on"}%

The test code in Sandbox.RandomTestTopic7740

---++ BU1

Internal, News & Info, Ent, Common

---++ TO1

,Action Item, Red Flag, Escalation, Unscheduled

The second include in RandomTestTopic26213 should present the raw source

---++ TO1

,Action Item, Red Flag, Escalation, Unscheduled

Instead, I see

-- VickiBrown - 14 Jul 2007

raw=on makes no difference for "local" TWiki topics, only for url content.

I am afraid I cannot follow the train of thought here - to me it looks like TWiki is giving you what you are asking for.

You can use a <verbatim> or a <litteral> tag inside the included content if you would like to have it show up as raw text.

Marking as no action required.

-- TWiki:Main.SteffenPoulsen - 16 Sep 2007

Summary INCLUDE raw="on" isn't raw
ReportedBy TWiki:Main.VickiBrown

SVN Range TWiki-4.1.2, Thu, 28 Jun 2007, build 14298
AppliesTo Engine

Priority Normal
CurrentState No Action Required


TargetRelease n/a

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg Item4359.jpg r1 manage 23.9 K 2007-07-14 - 16:01 UnknownUser Screenshot
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2007-09-16 - SteffenPoulsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback