포토게시판 이미지 노출관련 수정

This commit is contained in:
wyh 2024-10-07 09:29:35 +09:00
parent 51b435f60d
commit 0bf507cb4d

View File

@ -22,9 +22,14 @@
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%pageContext.setAttribute("crlf", "\r\n"); %>
<%pageContext.setAttribute("ltChar", "&lt;"); %>
<%pageContext.setAttribute("gtChar", "&gt;"); %>
<head>
<script src="/publish/js/content.js"></script>
<script type="text/javascript">
var gPageIndex = "<c:out value='${searchVO.pageIndex}'/>";
var gSearchCnd = "<c:out value='${searchVO.searchCnd}'/>";
var gSearchWrd = "<c:out value='${searchVO.searchWrd}'/>";
$(document).ready(function(){
});
@ -195,7 +200,7 @@ function fn_egov_select_commentList(pageNo) {
</ul>
</div>
<div class="view_cont">
<div class="cont_in">
<div class="cont_in" style="word-break:break-all;">
<%-- <div class="img_cont">
<c:if test="${not empty fileList}">
<c:forEach var="result" items="${fileList}" varStatus="status">
@ -203,7 +208,13 @@ function fn_egov_select_commentList(pageNo) {
</c:forEach>
</c:if>
</div> --%>
<c:out value="${result.nttCn}" escapeXml="false" />
<!-- 엔터적용 -->
<c:set var="nttCn1" value="${fn:replace(result.nttCn , crlf , '<br/>')}" />
<c:set var="nttCn2" value="${fn:replace(nttCn1 , ltChar , '<')}" />
<c:set var="nttCn3" value="${fn:replace(nttCn2 , gtChar , '>')}" />
<c:out value="${nttCn3}" escapeXml="false" />
<%-- <c:out value="${result.nttCn}" escapeXml="false" /> --%>
</div>
<%-- <div class="attachedFile2">