Do not count the header-content division as a part of the content
commit7b470430a9bf4c365e247c6744c094d1a7e89dbd
authorAlberto Bertogli <albertito@blitiri.com.ar>
Mon, 24 Nov 2008 18:04:58 +0000 (24 16:04 -0200)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Mon, 24 Nov 2008 18:08:53 +0000 (24 16:08 -0200)
tree32f52e958fd6c74ab718aea92778e902a16830ba
parentee58e0129cf0a65cda485964c0532fcdc6576c8a
Do not count the header-content division as a part of the content

When loading an article for editing, an extra newline is placed at the top
of the content.

The cause of this is that we count the empty line between an article's
header and content as part of the content.

This patch fixes this by just ignoring it.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
wikiri.cgi