getRequest(); $document = $request->getStr('document'); $engine = PhabricatorMarkupEngine::newPhrictionMarkupEngine(); $content = '
'. $engine->markupText($document). '
'; return id(new AphrontAjaxResponse())->setContent($content); } }