This question about Using an extension: Answered
How to include examples of html/xml in a Edit Table Plugin?
Some users had a lot of tables (editable via the EditTablePlugin) showing sample of HTML code and the result, e.g:
However, at each edit/save cycle via the EditTable Edit button, the html code is evaluated once meaning the html entities < is transformed into a <
They also used to have verbatim tags for big examples, but now edit/saving adds <br /> instead of newlines
The only workaround they found is to have one verbatim per line, eg:
<verbatim>one</verbatim>
<verbatim>two</verbatim>
<verbatim>three</verbatim>
Is there a way I missed to "protect" from extra expansion?
PS we are migrating to Foswiki 1.0.7 from... a TWiki Cairo, where we did not have this expansion.
Sandbox topic:
TestTopic44457
--
ColasNahaboo
The html tags are converted by
WysiwygPlugin. To protect the edit table tags, put
sticky
tags around it. For example:
<sticky>
%EDITTABLE{ header="|*text*|" format="|textarea,6x48|" changerows="on"}%
| *text* |
| <b>X</b> |
| <strong>X</strong> |
<nop></sticky>
Due to a bug in the plugin, the ending
sticky
tag is appended to the table, unless you put the
nop
tag before it on a new line.
--
ArthurClemens - 24 Mar 2010