mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-12 06:48:31 +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) {
|
public function apply($text) {
|
||||||
return preg_replace_callback(
|
return preg_replace_callback(
|
||||||
'@{meme,((?:[^}\\\\]+|\\\\.)+)}$@m',
|
'@{meme,((?:[^}\\\\]+|\\\\.)+)}@m',
|
||||||
array($this, 'markupMeme'),
|
array($this, 'markupMeme'),
|
||||||
$text);
|
$text);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue