git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
page: reenclose template contents in static container
[minimedit.git]
/
article.inc.php
diff --git
a/article.inc.php
b/article.inc.php
index d8ddf77b990b374d25586da8a01501ad030d21b3..503c5a13869349c6f3ea0d450a3d1f9aa39edd05 100644
(file)
--- a/
article.inc.php
+++ b/
article.inc.php
@@
-110,7
+110,7
@@
class ArchiveArticle
function story()
{
if ( preg_match('{
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])) {
}x', $this->body, $img, PREG_OFFSET_CAPTURE) ) {
# strip part after matching divider (image)
if (isset($img[1])) {