In dakar you can define a VIEW_TEMPLATE that has not TEXT tag
in it but only render the view formatting the topic's
TWikiForm data.
Albeit this all works out fine, in
?raw=on
mode the engine
still assumes that a TEXT tag is there and generates an empty
textarea appended to the end of the html page
outside of the closing </html> tag).
The code under consideration is in
lib/TWiki/UI/View.pm
, line 294.
There's a check missing to only generate a textarea if
$text
is not
empty.
The nice thing about that is, that you can
completely hide implementational
details of your
TWikiApplication now as a VIEW_TEMPLATE without a TEXT
tag will not display the raw topic anymore, a technique used in the
BlogPlugin.
Done in SVN 10075, 10076 --
MD