Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix removal of EscapeHTML Remarkup rule.

  • Loading branch information...
commit c3736dd0eafeadd6a4a4bc5814aa1ed8d4c18f44 1 parent 3bcfcc4
@epriestley epriestley authored
View
2  scripts/__init_script__.php
@@ -9,6 +9,8 @@
exit(1);
}
+require_once 'libphutil/scripts/__init_script__.php';
+
if (!ini_get('date.timezone')) {
date_default_timezone_set('America/Los_Angeles');
}
View
3  src/renderer/DivinerDefaultRenderer.php
@@ -157,7 +157,6 @@ protected function getMarkupEngine() {
$rules[] = new PhutilRemarkupRuleDocumentLink();
$rules[] = new PhutilRemarkupRuleHyperlink();
$rules[] = $this->buildSymbolRule();
- $rules[] = new PhutilRemarkupRuleEscapeHTML();
$rules[] = new PhutilRemarkupRuleBold();
$rules[] = new PhutilRemarkupRuleItalic();
$rules[] = new PhutilRemarkupRuleDel();
@@ -166,7 +165,6 @@ protected function getMarkupEngine() {
$code_rules[] = new PhutilRemarkupRuleEscapeRemarkup();
$code_rules[] = new PhutilRemarkupRuleDocumentLink();
$code_rules[] = new PhutilRemarkupRuleHyperlink();
- $code_rules[] = new PhutilRemarkupRuleEscapeHTML();
$blocks = array();
$blocks[] = new PhutilRemarkupEngineRemarkupQuotesBlockRule();
@@ -209,7 +207,6 @@ protected function getInlineMarkupEngine() {
$rules[] = new PhutilRemarkupRuleEscapeRemarkup();
$rules[] = new PhutilRemarkupRuleMonospace();
$rules[] = $this->buildSymbolRule();
- $rules[] = new PhutilRemarkupRuleEscapeHTML();
$rules[] = new PhutilRemarkupRuleBold();
$rules[] = new PhutilRemarkupRuleItalic();
$rules[] = new PhutilRemarkupRuleDel();
Please sign in to comment.
Something went wrong with that request. Please try again.