mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
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:
parent
23d192cb3d
commit
29d34e8f62
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue