From 180e9830307c556340816c53b29e543c697b9cf8 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Wed, 1 Jan 2020 06:44:40 +0100 Subject: [PATCH] page: fix titleless article teaser fallback Broken since commit v4.0-28-gb3aec6cf1c (2019-11-09) [page: replace output caching by article object]. --- article.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/article.inc.php b/article.inc.php index ea958fa..541d35e 100644 --- a/article.inc.php +++ b/article.inc.php @@ -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]; } -- 2.30.0