Skip to content

Commit 8c27c57

Browse files
committed
Update metadata regex
1 parent 0d0de82 commit 8c27c57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Content.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private function splitContent() {
8585
* current message comment section.
8686
*/
8787
private function extractMetadata() {
88-
if (preg_match('#(?P<metadata>submitted.*</span>)#', $this->content, $matches)) {
88+
if (preg_match('#(?P<metadata>\s{3}submitted.*</span>)#', $this->content, $matches)) {
8989
$this->metadata = $matches['metadata'];
9090
}
9191
}

0 commit comments

Comments
 (0)