commonTagsHandler($text, $topic, $web )
-
$text - text to be processed
-
$topic - the name of the topic in the current CGI query
-
$web - the name of the web in the current CGI query
This handler is called by the code that expands %TAGS% syntax in
the topic body and in form fields. It may be called many times while
a topic is being rendered.
Plugins that want to implement their own %TAGS% with non-trivial
additional syntax should implement this function. Internal TWiki
variables (and any variables declared using
TWiki::Func::registerTagHandler)
are expanded
before, and then again
after, this function is called
to ensure all %TAGS% are expanded.
For variables with trivial syntax it is far more efficient to use
TWiki::Func::registerTagHandler (see
initPlugin).
NOTE: when this handler is called, <verbatim> blocks have been
removed from the text (though all other
HTML such as <pre> blocks is
still present).
NOTE: meta-data is
not embedded in the text passed to this
handler.