[pmwiki-users] blank line at start of html output

John Rankin john.rankin at affinity.co.nz
Sun Apr 27 04:41:27 CDT 2014

> John Rankin writes:
>> I can see a blank first line in the regular html output too, so it's not
>> an artefact of wikipublisher's output.
>> I am unable to figure out where pmwiki inserts this blank first line and
>> how to prevent it. Any help would be appreciated.
> PmWiki doesn't insert a blank first line. Such lines are sometimes
> inserted
> by recipe which contain a closing ?> PHP tag followed by a new line. In
> this
> case, the backup_pages.php recipe inserts this new line.
> It is recommended to remove the closing ?> tag from all scripts, see:
>   http://www.pmwiki.org/wiki/PmWiki/DesignNotes

Ah, thank you.

However, I checked and include url doesn't have a closing ?> tag. I can't
see what this script is doing that could generate an empty first line. My
user has tested this with and without includeurl -- on his system, it
causes an empty first line.

John Rankin

More information about the pmwiki-users mailing list