[pmwiki-users] line breaks bug

Patrick R. Michaud pmichaud at pobox.com
Thu Sep 1 10:16:44 CDT 2005


On Thu, Sep 01, 2005 at 03:52:59PM +0100, Hans wrote:
> Monday, August 29, 2005, 4:08:14 PM, Patrick wrote:
> >> What I am observing now is, that the combination of
> >> $HTMLPNewline = '<br />'; in config.php and any style definitions placed
> >> in a group header will introduce empty lines at the top of the page, as
> >> many as there are lines used in the GroupHeader.
> >> 
> >> Could this be remedied, so style definitions etc in a GroupHeader
> >> don't introduce empty lines?
> 
> > I don't have a quick fix at the moment (since lines containing
> > wikistyles are in fact markup); I'll have to think about it a bit.
> 
> Will this be fixed for the release of 2.0.0?

I'm not even sure it's a bug.  Technically, if a site admin takes the
position that every newline in the markup should generate a newline
in the output, then generating the empty lines is in fact what is being
requested and the correct response.

At any rate, I'm not planning to make any changes here for 2.0.0.
You can enter it as a feature request for PITS, but we need to
better understand the rationale for suppressing the newlines in this
instance (and how one would detect it).

Pm




More information about the pmwiki-users mailing list