[pmwiki-users] Suppress HTML comments from template in output

2014-01-31 Thread Oliver Betz
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

Re: [pmwiki-users] Suppress HTML comments from template in output

2014-01-31 Thread michael paulukonis
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

Re: [pmwiki-users] Suppress HTML comments from template in output

2014-01-31 Thread michael paulukonis
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

Re: [pmwiki-users] Suppress HTML comments from template in output

2014-01-31 Thread Petko Yotov
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

Re: [pmwiki-users] markup_e and PSS

2014-01-31 Thread Petko Yotov
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.

[pmwiki-users] PmWiki 2.2.61 released

2014-01-31 Thread Petko Yotov
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