﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
16746,post paginating <!--nextpage--> does not work,hakre,nacin,"When <!--nextpage--> is placed at the very beginning of the post content (first page contains zero-length content) then pagination does not work at all.

Example post content for reproduction:

{{{
<!--nextpage-->
page2
<!--nextpage-->
page3
}}}

This will result in a single page, not in a three or two page setup.

It's related to strpos returning 0 which is casted into false when if'ed.

Related: #16745",defect (bug),reopened,normal,3.6,Query,,normal,,has-patch,info@…
