PITS /
00554: HTMLPNewline and /PmWiki/*
Summary: HTMLPNewline and /PmWiki/*
Created: 2005-10-10 14:07
Status: Open
Category: Bug
From: ksc
Assigned:
Priority: 1
Version: 2.0.10
OS: Linux/Apache2/PHP 4.3.11
Description:
When using HTMLPNewline="<br />" *all* the /PmWiki/ pages have three added br's at the top of the page. /Site/*, /Main/* and site generated content do not.
from /PmWiki/MarkupMasterIndex:
<div id='wikitext'> <p> <br/> <br/> <br/> </p><p class='vspace'></p>
Answer:
This is caused by the style definitions in PmWiki.GroupHeader. To avoid the addition of new lines caused thus you need to enclose the style definitions in a comment division, like this:
>>comment<< %define=style1 ...% %define=style2 ...% %define=style3 ...% >><<