Hi I'm using Struts 1.2 and I installed TinyMCE. The problem is that struts is converting all HTML tags into entities. How do I disable or configure this to allow only selected tags?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Use the filter parameter (taglib).
<bean:write name="someField" filter="false"/>
回答2:
Thanks, I was looking for this but in Struts 2, and this helped, it's similar:
<s:property value="variable" escape="false" />