Don't require memes to be at the end of a line
Summary: Fixes T7893.
Test Plan: {F395543}
Reviewers: btrahan
Reviewed By: btrahan
Subscribers: epriestley
Maniphest Tasks: T7893
Differential Revision: https://secure.phabricator.com/D12752
This commit is contained in:
@@ -10,7 +10,7 @@ final class PhabricatorMemeRemarkupRule extends PhutilRemarkupRule {
|
||||
|
||||
public function apply($text) {
|
||||
return preg_replace_callback(
|
||||
'@{meme,((?:[^}\\\\]+|\\\\.)+)}$@m',
|
||||
'@{meme,((?:[^}\\\\]+|\\\\.)+)}@m',
|
||||
array($this, 'markupMeme'),
|
||||
$text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user