Преглед на файлове

verify Started a fix for ninja's fortunes

This will require an update to the ninja framework in
addition to this change in order for it to pass validation.
Presently, the framework is no escaping the apostrophe.
Mike Smith преди 11 години
родител
ревизия
d55e523d03
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      ninja/src/main/java/hello/views/HelloFortuneController/index.ftl.html

+ 1 - 1
ninja/src/main/java/hello/views/HelloFortuneController/index.ftl.html

@@ -12,7 +12,7 @@
 		<#list fortunes as fortune>
 		<tr>
 			<td>${fortune.id}</td>
-			<td>${fortune.message?html}</td>
+			<td>${fortune.message}</td>
 		</tr>
 		</#list>
 	</table>