From 394dcb7900bea47785378221f3b052ae57210c0b Mon Sep 17 00:00:00 2001 From: epriestley Date: Wed, 2 Jul 2014 04:57:38 -0700 Subject: [PATCH] Fix an issue with Diviner symbol rule using incorrect logic Auditors: btrahan --- src/applications/diviner/markup/DivinerRemarkupRuleSymbol.php | 2 +- src/infrastructure/markup/PhabricatorMarkupEngine.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applications/diviner/markup/DivinerRemarkupRuleSymbol.php b/src/applications/diviner/markup/DivinerRemarkupRuleSymbol.php index ca395d85c5..1acbaea8d5 100644 --- a/src/applications/diviner/markup/DivinerRemarkupRuleSymbol.php +++ b/src/applications/diviner/markup/DivinerRemarkupRuleSymbol.php @@ -34,7 +34,7 @@ final class DivinerRemarkupRuleSymbol extends PhutilRemarkupRule { } public function markupSymbol($matches) { - if ($this->isFlatText($matches[0])) { + if (!$this->isFlatText($matches[0])) { return $matches[0]; } diff --git a/src/infrastructure/markup/PhabricatorMarkupEngine.php b/src/infrastructure/markup/PhabricatorMarkupEngine.php index e50a19c566..fac08cbbce 100644 --- a/src/infrastructure/markup/PhabricatorMarkupEngine.php +++ b/src/infrastructure/markup/PhabricatorMarkupEngine.php @@ -41,7 +41,7 @@ final class PhabricatorMarkupEngine { private $objects = array(); private $viewer; - private $version = 10; + private $version = 11; /* -( Markup Pipeline )---------------------------------------------------- */