X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/bc6019f39a712d18437161942174649589635cb9..42a4b445cf00c094dfa97b8679901588371188e6:/article.inc.php diff --git a/article.inc.php b/article.inc.php index d42e498..541d35e 100644 --- a/article.inc.php +++ b/article.inc.php @@ -35,7 +35,7 @@ class ArchiveArticle } @list ($this->preface, $this->title, $this->body) = - preg_split('{

(.*?)

\s*}', $this->raw, 2, PREG_SPLIT_DELIM_CAPTURE); + preg_split('{

(.*?)

\s*}s', $this->raw, 2, PREG_SPLIT_DELIM_CAPTURE); } } @@ -109,7 +109,7 @@ class ArchiveArticle # starting paragraph for documents without title (assumed simple/partial) if (strpos($this->raw, ' \s* (.*?)

+ \A (?:
]*> \s* )*

\s* (.*?)

}sx', $this->raw, $bodyp)) { return $bodyp[1]; }