이다솜
2022-02-21
@118
[20220221 이다솜] escapeXml="false"
Index: base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleList.jsp
===================================================================
--- base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleList.jsp (revision 117)
+++ base3.10/src/main/webapp/WEB-INF/jsp/egovframework/com/cop/bbs/EgovArticleList.jsp (revision 118)
@@ -23,6 +23,7 @@
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%pageContext.setAttribute("crlf", "\r\n"); %>
+<%pageContext.setAttribute("cr", "\n"); %>
<c:set var="reBbsId" value="${fn:replace(boardMasterVO.bbsId, \"BBSMSTR_\", \"\")}"/>
<c:set var="pageTitle"><spring:message code="comCopBbs.articleVO.title"/></c:set>
@@ -191,7 +192,7 @@
<p class="by"><a href="/content/common/writer_list.html" title="작가 정보" class="writer"><c:out value='${resultInfo.frstRegisterNm}'/></a><em>국립과천과학관</em></p>
<p class="text">
<a href="#!" class="textover" onclick="fn_egov_inquire_articledetail('${resultInfo.bbsId }', '${resultInfo.nttId }');" title="${resultInfo.nttCn }">
- <c:out value="${fn:replace(fn:replace(resultInfo.nttCn, crlf, '<br/>'), ' ', ' ')}" />
+ <c:out value="${fn:replace(resultInfo.nttCn , crlf , '<br/>')}" escapeXml="false" />
</a>
</p>
</div>
List
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?