Index: trunk/extensions/ArticleComments/ArticleComments.php |
— | — | @@ -363,8 +363,8 @@ |
364 | 364 | |
365 | 365 | # Check whether the article or its talk page contains a <comments /> flag |
366 | 366 | if (!$skipCheck && |
367 | | - preg_match('/<comments( +[^>]*)?/>/', $articleContent)===0 && |
368 | | - preg_match('/<comments( +[^>]*)?/>/', $talkContent)===0 |
| 367 | + preg_match('/<comments( +[^>]*)?\\/>/', $articleContent)===0 && |
| 368 | + preg_match('/<comments( +[^>]*)?\\/>/', $talkContent)===0 |
369 | 369 | ) { |
370 | 370 | $wgOut->setPageTitle(wfMsgForContent($ac.'submission-failed')); |
371 | 371 | $wgOut->addWikiText( |