Authored by ccbikai

逛 详情页 文章内容不转义

... ... @@ -23,7 +23,7 @@
{{# content}}
{{#if text}}
<div class="post-block text-block">
{{text}}
{{{text}}}
</div>
{{/if}}
... ...
... ... @@ -144,7 +144,7 @@ class HomeModel
Cache::set(CacheConfig::KEY_ACTION_BOYS_INDEX, $result);
}
}
return $result;
}
... ...
... ... @@ -145,7 +145,7 @@ class DetailController extends AbstractAction
$data['relatedInfo'][] = $value;
}
}
$this->_view->display('index', $data);
$detail = array();
... ...