[pmwiki-users] Nesting elements (Was: Numbered lists ...)

V.Krishn mistyfire at autograf.pl
Wed Jul 27 13:20:19 CDT 2005


> On Wednesday 27 July 2005 22:30, pmichaud at pobox.com wrote:
> That pattern accidentally grabs something like (:comment-form:) or
> (:comment-box:).  To do it the pattern should really be
>
>     Markup('comment', 'directives', '/\\(:comment(\\s.*?)?:\\)/i', '');
>
> However, the problem I'm seeing with (:comment:) is that it looks
> like it really wants to have a (:commentend:) somewhere, and that's
> just not how it's defined.  
>
> However, one can get a large block-style comment in the markup by doing:
>
>     >>comment<<
>     Here is a long set
>     of comments that will
>     be hidden from the browser
>     (assuming the browser understands
>     the CSS "display" property).
>     >><<
>
> Pm
I tried the div comments as above (beta45):
I noticed that it produces an empty div at the end?

But this does not:

>>comment<<
Here is a long set
of comments that will
be hidden from the browser
(assuming the browser understands
the CSS "display" property). >><<

V.Krishn




More information about the pmwiki-users mailing list