Inline comment-related fixes.

This commit is contained in:
epriestley
2011-02-02 19:38:43 -08:00
parent 223ac18287
commit 4aa72aa5ff
27 changed files with 368 additions and 51 deletions

View File

@@ -109,7 +109,16 @@ final class DifferentialInlineCommentView extends AphrontView {
$links = null;
}
$content = $this->markupEngine->markupText($content);
$cache = $inline->getCache();
if (strlen($cache)) {
$content = $cache;
} else {
$content = $this->markupEngine->markupText($content);
if ($inline->getID()) {
$inline->setCache($content);
$inline->save();
}
}
$markup = javelin_render_tag(
'div',