diff --git a/src/applications/macro/markup/PhabricatorIconRemarkupRule.php b/src/applications/macro/markup/PhabricatorIconRemarkupRule.php index e1e6cede07..df22d0f3db 100644 --- a/src/applications/macro/markup/PhabricatorIconRemarkupRule.php +++ b/src/applications/macro/markup/PhabricatorIconRemarkupRule.php @@ -67,7 +67,7 @@ final class PhabricatorIconRemarkupRule extends PhutilRemarkupRule { } $color = $options['color']; - if (empty($color_names[$color])) { + if ($color !== null && empty($color_names[$color])) { $color = null; }