Permalink
Browse files

Temporarily unbreak Diviner until the new stuff can come online.

Auditors: vrana
  • Loading branch information...
1 parent ffa6fee commit 3bcfcc49941bacd8a5fa85bcb34111f82af2e040 @epriestley epriestley committed Feb 19, 2013
Showing with 14 additions and 12 deletions.
  1. +14 −12 src/remarkup/DivinerRemarkupRuleSymbols.php
View
26 src/remarkup/DivinerRemarkupRuleSymbols.php
@@ -51,12 +51,13 @@ public function markupSymbol($matches) {
$suffix = '()';
$type = 'class';
return $this->getEngine()->storeText(
- $this->getRenderer()->renderAtomLinkRaw(
- $type,
- $class,
- phutil_escape_html($name).$suffix,
- 'method/'.$method,
- $project));
+ phutil_safe_html(
+ $this->getRenderer()->renderAtomLinkRaw(
+ $type,
+ $class,
+ $name.$suffix,
+ 'method/'.$method,
+ $project)));
case 'function':
$suffix = '()';
break;
@@ -66,12 +67,13 @@ public function markupSymbol($matches) {
}
return $this->getEngine()->storeText(
- $this->getRenderer()->renderAtomLinkRaw(
- $type,
- $name,
- phutil_escape_html($name).$suffix,
- $anchor = null,
- $project));
+ phutil_safe_html(
+ $this->getRenderer()->renderAtomLinkRaw(
+ $type,
+ $name,
+ $name.$suffix,
+ $anchor = null,
+ $project)));
}
}

0 comments on commit 3bcfcc4

Please sign in to comment.