최근게시물에서 alt 안에 html 소스가 먹힌 경우
제목에 html 태그로 작성된 게시물이 alt 안에 있을 경우 최근게시물이 깨지게 됩니다.
그럴 경우 strip_tags를 사용하여 html 소스를 벗겨내줄 수 가 있습니다.
alt="{strip_tags($item->getTitle(20))}"
참조
https://xe1.xpressengine.com/tip/19375151
http://www.vnote.kr/?mid=XPRESSENGINE&m=1&document_srl=2043
http://study4you.kr/xe/homepage/8933
https://github.com/xpressengine/xe-core/issues/2020
https://xe1.xpressengine.com/tip/16798225

eond
Lv. 12
댓글 0