mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
#111 최근 댓글 위젯의 출력물에서 strip_tags()함수로 태그를 제거한 후 글자수를 줄이고 htmlspecialchars 적용하도록 변경하여 태그가 노출되지 않도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2378 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
21f0f417d5
commit
03b29f9a30
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
<ul class="commentList">
|
||||
<!--@foreach($widget_info->comment_list as $val)-->
|
||||
<li><a href="{getUrl('','document_srl',$val->document_srl)}#comment_{$val->comment_srl}">{htmlspecialchars(cut_str($val->content,20,'...'))}</a></li>
|
||||
<li><a href="{getUrl('','document_srl',$val->document_srl)}#comment_{$val->comment_srl}">{htmlspecialchars(cut_str(strip_tags($val->content),20,'...'))}</a></li>
|
||||
<!--@end-->
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue