NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item9842: % NOP % is not expanded when placed in a TOPICS META
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Urgent |
Closed |
Engine |
|
|
--
GregG - 18 Oct 2010
Index: Foswiki.pm
===================================================================
--- Foswiki.pm (revision 9552)
+++ Foswiki.pm (working copy)
@@ -2435,6 +2435,8 @@
$p->{value} =
_processMacros( $this, $p->{value}, \&_expandMacroOnTopicCreation,
$topicObject, 16 );
+ # kill markers used to prevent variable expansion
+ $p->{value} =~ s/%NOP%//g;
}
}
--
CrawfordCurrie - 18 Oct 2010
Fix verified and checked in. Thanks
--
KennethLavrsen - 18 Oct 2010
Re-opened because a unit test is required.
--
CrawfordCurrie - 19 Oct 2010