diff --git a/src/infrastructure/markup/rule/PhabricatorObjectRemarkupRule.php b/src/infrastructure/markup/rule/PhabricatorObjectRemarkupRule.php --- a/src/infrastructure/markup/rule/PhabricatorObjectRemarkupRule.php +++ b/src/infrastructure/markup/rule/PhabricatorObjectRemarkupRule.php @@ -100,7 +100,7 @@ $id = $this->getObjectIDPattern(); $text = preg_replace_callback( - '@\B{'.$prefix.'('.$id.')((?:[^}\\\\]|\\\\.)*)}\B@', + '@\B{'.$prefix.'('.$id.')((?:[^}\\\\]|\\\\.)*)}\B@u', array($this, 'markupObjectEmbed'), $text); @@ -122,7 +122,7 @@ // in the middle of words. $text = preg_replace_callback( - '((?