Просмотр исходного кода

기획전 쿠폰유의사항 escapeHtml 처리

bin2107 4 лет назад
Родитель
Сommit
6370164269

+ 1 - 1
src/main/webapp/WEB-INF/views/mob/planning/PlanningDetailFormMob.html

@@ -929,7 +929,7 @@ if(template.length>0){
 			html += '		</div>\n';
 			html += '		<div class="announce_list">\n';
 			html += '			<ul>\n';
-			html += '                  <li>' + couponContent[0].cpnNote0 +'</li>\n';
+			html += '                  <li>' + couponContent[0].cpnNote0.escapeHtml(); +'</li>\n';
 			if(couponContent[0].cpnNote1 != null && couponContent[0].cpnNote1 != '')
 				html += '                  <li>' + couponContent[0].cpnNote1.escapeHtml(); +'</li>\n';
 			if(couponContent[0].cpnNote2 != null && couponContent[0].cpnNote2 != '')

+ 1 - 1
src/main/webapp/WEB-INF/views/web/planning/PlanningDetailFormWeb.html

@@ -775,7 +775,7 @@ if(template.length>0){
 			html += '            </div>\n                                                                ';
 			html += '            <div class="announce_list">\n                                           ';
 			html += '               <ul>\n';
-			html += '                  <li>' + couponContent[0].cpnNote0 +'</li>\n';
+			html += '                  <li>' + couponContent[0].cpnNote0.escapeHtml(); +'</li>\n';
 			if(couponContent[0].cpnNote1 != null && couponContent[0].cpnNote1 != '')
 				html += '                  <li>' + couponContent[0].cpnNote1.escapeHtml(); +'</li>\n';
 			if(couponContent[0].cpnNote2 != null && couponContent[0].cpnNote2 != '')