Authored by ccbikai

逛 详情页 文章内容不转义

@@ -23,7 +23,7 @@ @@ -23,7 +23,7 @@
23 {{# content}} 23 {{# content}}
24 {{#if text}} 24 {{#if text}}
25 <div class="post-block text-block"> 25 <div class="post-block text-block">
26 - {{text}} 26 + {{{text}}}
27 </div> 27 </div>
28 {{/if}} 28 {{/if}}
29 29
@@ -144,7 +144,7 @@ class HomeModel @@ -144,7 +144,7 @@ class HomeModel
144 Cache::set(CacheConfig::KEY_ACTION_BOYS_INDEX, $result); 144 Cache::set(CacheConfig::KEY_ACTION_BOYS_INDEX, $result);
145 } 145 }
146 } 146 }
147 - 147 +
148 return $result; 148 return $result;
149 } 149 }
150 150
@@ -145,7 +145,7 @@ class DetailController extends AbstractAction @@ -145,7 +145,7 @@ class DetailController extends AbstractAction
145 $data['relatedInfo'][] = $value; 145 $data['relatedInfo'][] = $value;
146 } 146 }
147 } 147 }
148 - 148 +
149 $this->_view->display('index', $data); 149 $this->_view->display('index', $data);
150 150
151 $detail = array(); 151 $detail = array();