[pmwiki-devel] Extra <p> when adding fieldset to form markup

marc gmane at auxbuss.com
Fri Nov 24 07:34:22 CST 2006


Patrick R. Michaud said...
> On Wed, Nov 22, 2006 at 02:44:47PM -0000, marc wrote:
> > Hans said...
> > > Wednesday, November 22, 2006, 9:47:57 AM, marc wrote:
> > > 
> > > > I'm tying to add fieldset markup, but when the HTML is generated the
> > > > tags are surrounded by unwanted <p> tags, which invalidates the HTML.
> > > 
> > > <fieldset> is a blocklevel element, so perhaps try this:
> > > [...]
> > 
> 
> Another possibility is to add fieldset to PmWiki's understanding
> of block-level elements.
> 
>     $BlockPattern .= '|fieldset';

I tried this expecting it to manage the markup, but, just to be clear, 
it simply allows the removal of the <:block> syntax; I still have to 
manage the markup. Is that correct?

-- 
Best,
Marc




More information about the pmwiki-devel mailing list