diff --git a/src/support/SecureSupportRemarkupRule.php b/src/support/SecureSupportRemarkupRule.php index 8cfa4da..730d7cf 100644 --- a/src/support/SecureSupportRemarkupRule.php +++ b/src/support/SecureSupportRemarkupRule.php @@ -1,44 +1,44 @@ isFlatText($matches[0])) { return $matches[0]; } $engine = $this->getEngine(); if ($engine->isTextMode()) { return $matches[0]; } $id = $matches[1]; $anchor = idx($matches, 2); $monogram = "PHI{$id}"; $uri = "https://admin.phacility.com/{$monogram}"; if ($anchor) { $uri = new PhutilURI($uri); - $uri->setAnchor($anchor); + $uri->setFragment($anchor); $uri = (string)$uri; } $tag = id(new PHUITagView()) ->setName($monogram) ->setHref($uri) ->setType(PHUITagView::TYPE_SHADE) ->setColor(PHUITagView::COLOR_VIOLET) ->render(); return $engine->storeText($tag); } }