Skip to content

Commit

Permalink
Update metadata regex
Browse files Browse the repository at this point in the history
  • Loading branch information
aledeg committed Oct 4, 2022
1 parent 0d0de82 commit 8c27c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private function splitContent() {
* current message comment section.
*/
private function extractMetadata() {
if (preg_match('#(?P<metadata>submitted.*</span>)#', $this->content, $matches)) {
if (preg_match('#(?P<metadata>\s{3}submitted.*</span>)#', $this->content, $matches)) {
$this->metadata = $matches['metadata'];
}
}
Expand Down

0 comments on commit 8c27c57

Please sign in to comment.