nieuws: navigation links in common aside container
[minimedit.git] / article.inc.php
index 2f5b8739deb3f6c2a2446395156749b7b6284e14..98cd475b22194095fca6924c9ef4570b6eaed041 100644 (file)
@@ -132,7 +132,7 @@ class ArchiveArticle
                $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];
                }