瀏覽代碼

newsDetail

Antiloveg 8 年之前
父節點
當前提交
350d1d1ff1
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/main/webapp/WEB-INF/views/portal/news/newsDetails.html

+ 6 - 6
src/main/webapp/WEB-INF/views/portal/news/newsDetails.html

@@ -52,7 +52,7 @@
 							</div>
 							<div class="newsDetails_txt">
 								<p th:text="${it.summary}"></p>
-								<p th:text="${it.content}">
+								<p th:utext="${it.content}">
 									<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
 								</p>
 								<span th:text="${it.source}"></span> <i th:text="${it.createTimeFormattedDate}"></i>
@@ -78,7 +78,7 @@
 							</div>
 							<div class="newsDetails_txt">
 								<p th:text="${it.summary}"></p>
-								<p th:text="${it.content}">
+								<p th:utext="${it.content}">
 									<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
 								</p>
 								<span th:text="${it.source}"></span> <i th:text="${it.createTimeFormattedDate}"></i>
@@ -104,7 +104,7 @@
 							</div>
 							<div class="newsDetails_txt">
 								<p th:text="${it.summary}"></p>
-								<p th:text="${it.content}">
+								<p th:utext="${it.content}">
 									<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
 								</p>
 								<span th:text="${it.source}"></span> <i th:text="${it.createTimeFormattedDate}"></i>
@@ -130,7 +130,7 @@
 							</div>
 							<div class="newsDetails_txt">
 								<p th:text="${it.summary}"></p>
-								<p th:text="${it.content}">
+								<p th:utext="${it.content}">
 									<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
 								</p>
 								<span th:text="${it.source}"></span> <i th:text="${it.createTimeFormattedDate}"></i>
@@ -156,7 +156,7 @@
 							</div>
 							<div class="newsDetails_txt">
 								<p th:text="${it.summary}"></p>
-								<p th:text="${it.content}">
+								<p th:utext="${it.content}">
 									<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
 								</p>
 								<span th:text="${it.source}"></span> <i th:text="${it.createTimeFormattedDate}"></i>
@@ -182,7 +182,7 @@
 							</div>
 							<div class="newsDetails_txt">
 								<p th:text="${it.summary}"></p>
-								<p th:text="${it.content}">
+								<p th:utext="${it.content}">
 									<a th:href="${'/portal/news/newsDetail.html?newsId=' + it.id}">[详细]</a>
 								</p>
 								<span th:text="${it.source}"></span> <i th:text="${it.createTimeFormattedDate}"></i>