제목에 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

이온디

profile
이온디는 라이믹스를 비롯한 다양한 CMS의 시드뱅크를 꿈꿉니다. 여러분들이 사랑하는 웹소스를 언제든지 사용할 수 있게 하기 위해 이온디는 매일 소스코드를 유지보수하고 있으며, 언제든지 다운로드할 수 있는 소스마켓을 운영하고 있습니다.

#XE마켓 - 이온디스토어
https://eond.com/xemarket/

# XE/라이믹스 단톡방을 운영 중입니다. (비번: 2022)
https://open.kakao.com/o/giaKKnl

# XE/라이믹스 생활코딩 모듈 강좌입니다.
https://opentutorials.org/module/3774