@@ -93,7 +93,9 @@
</div>
<div class="pop_cont" th:if="${deliveryInfo != null and deliveryInfo.delvFeeCd != null and not #strings.isEmpty(deliveryInfo.note)}">
<h3>기타사항</h3>
- <th:block th:if="${not #strings.isEmpty(deliveryInfo.note)}" th:utext="${#strings.unescapeJava(#strings.escapeJava(deliveryInfo.note))}"></th:block>
+ <th:block th:each="note : ${#strings.arraySplit(#strings.replace(#strings.replace(#strings.escapeJava(deliveryInfo.note),'\r',''),'\n','|'),'|')}">
+ <p class="dot" th:text="${note}"></p>
+ </th:block>
@@ -143,7 +143,8 @@
<th>
기타사항
</th>
- <td th:if="${not #strings.isEmpty(deliveryInfo.note)}" th:utext="${#strings.unescapeJava(#strings.escapeJava(deliveryInfo.note))}">
+ <td th:if="${not #strings.isEmpty(deliveryInfo.note)}"
+ th:utext="${#strings.unescapeJava(#strings.replace(#strings.escapeJava(deliveryInfo.note),'\n' ,'<br />'))}">
상품에 따라 반송주소/방법이 각각 다를 수 있습니다.<br>
</td>
</tr>