Disable Struts by converting HTML tags to objects

Hi, I am using Struts 1.2 and I installed TinyMCE. The problem is that struts converts all HTML tags to entities. How to disable or configure this to allow only selected tags?

+3
source share
2 answers

Use the filter parameter ( taglib ).

<bean:write name="someField" filter="false"/> 
+4
source

Thanks, I searched for this, but in Struts 2, and it helped, it seems:

 <s:property value="variable" escape="false" /> 
+2
source

Source: https://habr.com/ru/post/899568/


All Articles