Skip to content
Browse files

Fix removal of EscapeHTML Remarkup rule.

  • Loading branch information...
1 parent 3bcfcc4 commit c3736dd0eafeadd6a4a4bc5814aa1ed8d4c18f44 @epriestley epriestley committed Jul 4, 2013
Showing with 2 additions and 3 deletions.
  1. +2 −0 scripts/__init_script__.php
  2. +0 −3 src/renderer/DivinerDefaultRenderer.php
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();

0 comments on commit c3736dd

Please sign in to comment.
Something went wrong with that request. Please try again.