function story()
{
if ( preg_match('{
- \n (?: < (?: p | figure [^>]* ) >\s* )+ (<img\ [^>]*>) | \n <hr\ />
+ (?: < (?: p | figure [^>]* ) >\s* )+ (<img\ [^>]*>) | \n <hr\ />
}x', $this->body, $img, PREG_OFFSET_CAPTURE) ) {
# strip part after matching divider (image)
if (isset($img[1])) {
</h2> (?: \s+ | <p\sclass="nav\b.*?</p> | <div[^>]*> )* <p> \s* (.*?) </p>
}sx', $this->raw, $bodyp, PREG_OFFSET_CAPTURE)) {
# fallback paragraph contents following the page header
- if ($bodyp[1][1] < 256) {
+ if ($bodyp[1][1] < 512) {
return $bodyp[1][0];
}
}