[Pmwiki-users] <p> ..</p> instead of <p /> - handling contexts and nested markup

Patrick R. Michaud pmichaud
Fri Aug 8 15:01:02 CDT 2003

On Fri, Aug 08, 2003 at 10:47:35PM +0200, Bernhard.Weichel at t-online.de wrote:
> Hi,
> I am again in the problem to safely handle contextual markup. Some
> Wiki-Markup might be rendered e.g. as Table, Which must be opened and closed
> appropriately. Beginning of June, we had ad discussion that PmWiki should
> even markup paragraphs as <p> contents </p> instead of <p /> contents. It is
> somehow the same problem.
> At this time I proposed, that PmWiki offers a "context stack" which allows
> to keep track of opened HTML-elements and perform an automatic close of
> those.

PmWiki already has a context stack--that's how it manages
||-tables, lists, and paragraphs.  The context stack is handled
(however poorly it may be) by the EmitCode function.

And somehow I think that implementing open/close paragraph tags (<p>...</p>)
will be intimately tied to whatever choices end up being made regarding
line breaks, paragraphs and the other items in the discussion thread 
starting at

I think I need to summarize the points raised in the linebreaks discussion
first, and then I'll be ready to look at containerizing the <p> tags.


More information about the pmwiki-users mailing list