Question
Figuring that I probably wouldn't get a positive response on
VariablesAndNewLinesWithinVariables, I set out to create a cheatsheet for my users. I'm not really expecting a solution unless somebody has one available. But thought I would report the funny behaviour.
Dakar
Here on
TWikiDotOrg, the verbatim is working correctly
%EDITTABLE{changerows="add" editbutton="add line item" quietsave="off" format="| text, 20 | text, 10 | text, 10 | label, 0, $percntCALC{ $percntBALANCE$percnt }$percnt |"}%
| *Item* | *Debit* | *Credit* | *Balance* |
Cairo
On my
CairoRelease, from the same %EDITTABLE text inside of verbatim tags, I get :
<nop>
<a name="edittable1"></a>
<form name="edittable1" action="http://domain.com/twiki/bin/viewauth/Sandbox/EditTableVerbatimTest#edittable1" method="post">
<input type="hidden" name="ettablenr" value="1" />
<input type="hidden" name="etedit" value="on" />
| *Item* | *Debit* | *Credit* | *Balance* |
<input type="hidden" name="etrows" value="1" />
<input type="submit" value="add line item" /></form>
The answer was to create the cheatsheet without verbatim and to escape every last thing from variables, to the pipes for the table, to the asterix for the bold.
Environment
--
KeithHelfrich - 17 Dec 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Thanks for the report. Nobody is going to debug Cairo code anymore, so closing this.
--
PeterThoeny - 31 Dec 2006