Hi All,
not really important, more out of curiosity: Is there a simple way to
suppress the HTML comments from the template directives?
For example !--PageHeaderFmt-- etc.
TIA,
Oliver
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
In general, PmWiki is outputting all the HTML from your template unaltered,
so that would include comments.
However, you can inline pmwiki-markup via !--markup:...-- per
http://www.pmwiki.org/wiki/PmWiki/SkinTemplates
Maybe something along the lines of (personally untested): !--markup:(:if
Looking at http://www.pmwiki.org/wiki/PmWiki/CommentMarkup AFTER I posted
the message shows that the (:comment :) markup also results in no
output, which would be more semantic than using (:if false:) (:ifend:)
-Michael Paulukonis
http://www.xradiograph.com
Oliver Betz writes:
not really important, more out of curiosity: Is there a simple way to
suppress the HTML comments from the template directives?
For example !--PageHeaderFmt-- etc.
Not with a PmWiki variable or something like this because the way the
template is printed, it does not know
John Rankin writes:
As far as I can tell from testing, when using Markup_e, it is not necessary
to apply the PSS function to matches, because preg_replace_callback does not
escape double quotes. However, the markup rules defined in
scripts/stdmarkup.php all use PSS in calls to Markup_e.
Hello. PmWiki version 2.2.61 was published today, and is available at:
http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.61.tgz
http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.61.zip
svn://www.pmwiki.org/pmwiki/tags/latest
This version removes unnecessary snippets of code and adds the variable