Item2319: On INCLUDE the raw/literal option doesn't work
Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: INCLUDE
Branches:
I create 2 Topics:
Topic
IncludeTest1
Include1 REVINFO=%REVINFO%
%INCLUDE{"IncludeTest2"}%
%INCLUDE{"IncludeTest2" raw="on" literal="on"}%
Topic
IncludeTest2
Include2: REVINFO=%REVINFO%
When viewing Topic
IncludeTest1 also on the third line I get the the
%REVINFO%
of
IncludeTest2 and not as expected the
%REVINFO%
of
IncludeTest1:
Result of
IncludeTest1
Include1 REVINFO=r1 - 01 Nov 2009 - 17:43:55 - AdminUser
Include2: REVINFO=r2 - 01 Nov 2009 - 17:36:32 - AdminUser
Include2: REVINFO=r2 - 01 Nov 2009 - 17:36:32 - AdminUser <= Why not the revision of IncludeTest1 ???
It appears that this is working as designed, but certainly not as desired (IMO).
raw="on"
is a shortcut for
disableremoveheaders="on"
,
disableremovescript="on"
,
disableremovebody="on"
,
disablecompresstags="on"
and
disablerewriteurls="on"
. All of these seem to be related to HTML processing, and from what I can see in the code all the way back to twiki, the raw= option is only referenced when handling url style includes.
However it would be a very desirable enhancement to be able to include raw topic content without any processing.
--
GeorgeClark - 13 May 2010