[pmwiki-users] (:linebreaks:) oddness

Patrick R. Michaud pmichaud at pobox.com
Thu May 10 07:18:12 CDT 2007


On Thu, May 10, 2007 at 09:54:14AM +0100, marc wrote:
> Markup('auxform', 'block',
>   '/\\(:(fieldset|fieldsetend|legend|legendend|label|labelend)(\\s.*?)?:
> \\)/ie',
>   "AuxForm('$1',PSS('$2'))");
> 
> And the same markup is used for the logged in equivalent is the login 
> box, but the extra <br  />s don't appear there.

Ahhh, I see.  I didn't realize/remember that there were separate
legendend and labelend directives.  I'm guessing that the original 
markup has (:legendend:) and (:labelend:) appearing on separate lines,
and those separate lines are where PmWiki is inserting the <br /> tags.

Pm



More information about the pmwiki-users mailing list