Browse Source

newsDetail

Antiloveg 8 years ago
parent
commit
350d1d1ff1
1 changed files with 6 additions and 6 deletions
  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>