git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
issue/feed: include reply count as thread metadata
[minimedit.git]
/
article.inc.php
diff --git
a/article.inc.php
b/article.inc.php
index 2f5b8739deb3f6c2a2446395156749b7b6284e14..98cd475b22194095fca6924c9ef4570b6eaed041 100644
(file)
--- a/
article.inc.php
+++ b/
article.inc.php
@@
-132,7
+132,7
@@
class ArchiveArticle
$offset = strpos($this->raw, '</h2>');
$offset = $offset ? $offset + 5 : 0;
if (preg_match('{
$offset = strpos($this->raw, '</h2>');
$offset = $offset ? $offset + 5 : 0;
if (preg_match('{
- \G (?> \s+ | <
p\sclass="nav\b.*?</p
> | <div [^>]*> | \[\[[^]]*\]\] )* <p> \s* (.*?) </p>
+ \G (?> \s+ | <
aside\b.*?</aside
> | <div [^>]*> | \[\[[^]]*\]\] )* <p> \s* (.*?) </p>
}sx', $this->raw, $bodyp, 0, $offset)) {
return $bodyp[1];
}
}sx', $this->raw, $bodyp, 0, $offset)) {
return $bodyp[1];
}