TWikiVariables#Example shows
* Set DRINK = red wine
* Set FAVORITE = My %DEFAULT% dish is %DISH%,
my %DEFAULT% drink is %DRINK%.
even though it's included from
ParameterizedVariables, whose corresponding part is as follows.
* Set DRINK = red wine
* Set FAVORITE = My %DEFAULT{default="favorite"}% dish is %DISH{default="steak"}%,
my %DEFAULT{default="favorite"}% drink is %DRINK%.
This is happening because in TWiki::INCLUDE(), %VARIABLE{default="..."}% is converted into %VARIABLE% even inside verbatim blocks.
Taking out verbatim block before the processing and then putting them back solve the problem.
--
TWiki:Main/HideyoImazu
- 2013-04-08