[pmwiki-users] How hard would it be to have (:comment:) output an HTML comment?

Patrick R. Michaud pmichaud at pobox.com
Sun Aug 7 09:04:29 CDT 2005


On Sat, Aug 06, 2005 at 11:44:19PM -0700, Greg Morgan wrote:
>    It would be quite a security risk to have it output HTML comments, since
>    you could put javascript code in comments.

No, this isn't really a risk, because PmWiki converts all '<' and '>'
signs into &lt; and &gt;.

Pm


>    On 8/3/05, Chris Cox < ccox at airmail.net> wrote:
> 
>      I have a need to feed the output of the print skin HTML to
>      generatepdf (uses htmldoc) and I want to give it some hints on
>      formatting.
> 
>      It takes hints in the form of HTML comments.
> 
>      I'd love to be able (for example) to insert:
> 
>      (:comment PAGE BREAK:)
> 
>      into my wiki page and have the HTML output contain:
> 
>      <!-- PAGE BREAK -->
> 
>      Possible?  Would it break something to have (:comment:) behave
>      this way??
> 
>      _______________________________________________
>      pmwiki-users mailing list
>      pmwiki-users at pmichaud.com
>      http://host.pmichaud.com/mailman/listinfo/pmwiki-users

> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users





More information about the pmwiki-users mailing list