Highlight monospace first
Summary: It should be possible to write `D1234` and others without making links from them. Depends on D1913. Test Plan: `D1234` `<a href="">` Reviewers: epriestley Reviewed By: epriestley CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1915
This commit is contained in:
parent
345340005b
commit
9f849b9fab
|
@ -106,6 +106,7 @@ class PhabricatorMarkupEngine {
|
|||
|
||||
$rules = array();
|
||||
$rules[] = new PhutilRemarkupRuleEscapeRemarkup();
|
||||
$rules[] = new PhutilRemarkupRuleMonospace();
|
||||
|
||||
$custom_rule_classes = $options['custom-inline'];
|
||||
if ($custom_rule_classes) {
|
||||
|
@ -143,7 +144,6 @@ class PhabricatorMarkupEngine {
|
|||
$rules[] = new PhabricatorRemarkupRuleMention();
|
||||
|
||||
$rules[] = new PhutilRemarkupRuleEscapeHTML();
|
||||
$rules[] = new PhutilRemarkupRuleMonospace();
|
||||
$rules[] = new PhutilRemarkupRuleBold();
|
||||
$rules[] = new PhutilRemarkupRuleItalic();
|
||||
|
||||
|
|
Loading…
Reference in a new issue