mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
Don't process links in Remarkup literal block
Test Plan: %%%Text that won't be processed by remarkup [[http://www.example.com | example]] %%% > http://www.phabricator.com/docs/phabricator/article/Remarkup_Reference.html#literal-blocks Reviewers: epriestley Reviewed By: epriestley CC: aran, Koolvin Differential Revision: https://secure.phabricator.com/D2266
This commit is contained in:
parent
7e571994bc
commit
aaf344cd02
1 changed files with 0 additions and 1 deletions
|
@ -175,7 +175,6 @@ class PhabricatorMarkupEngine {
|
|||
foreach ($blocks as $block) {
|
||||
if ($block instanceof PhutilRemarkupEngineRemarkupLiteralBlockRule) {
|
||||
$literal_rules = array();
|
||||
$literal_rules[] = new PhutilRemarkupRuleHyperlink();
|
||||
$literal_rules[] = new PhutilRemarkupRuleEscapeHTML();
|
||||
$literal_rules[] = new PhutilRemarkupRuleLinebreaks();
|
||||
$block->setMarkupRules($literal_rules);
|
||||
|
|
Loading…
Reference in a new issue