Java Primefaces编辑器将选项放入文本中

Java Primefaces编辑器将选项放入文本中,java,primefaces,Java,Primefaces,我使用p:editor作为输入: <p:editor id="editor" value="#{blogUIBean.blogEdit.blogIn}" required="true" style="width:500px"/> <h:outputText value="#{blogUIBean.selectedBlog.blogIn}" style="line-height:150%;margin-left:30px;background-color:#e1ecf0;"

我使用p:editor作为输入:

<p:editor id="editor" value="#{blogUIBean.blogEdit.blogIn}" required="true" style="width:500px"/>
 <h:outputText value="#{blogUIBean.selectedBlog.blogIn}" style="line-height:150%;margin-left:30px;background-color:#e1ecf0;" /> 

我将此输入显示为:

<p:editor id="editor" value="#{blogUIBean.blogEdit.blogIn}" required="true" style="width:500px"/>
 <h:outputText value="#{blogUIBean.selectedBlog.blogIn}" style="line-height:150%;margin-left:30px;background-color:#e1ecf0;" /> 

但显示时选择的编辑器选项如下:;span style=“font-family:Verdana,Arial,Helvetica,sans-serif;字体大小:13px;线条高度:18px;背景色:rgb(255,255,255);”>Projenin fikir babasıolan Ekmek Sanayiıverenler Sendikasısunduklar Projenin bük bir ilgi ile karıını


为什么会发生这种情况?我如何禁用这些功能?

使用属性
转义
如:

<h:outputText value="#{blogUIBean.selectedBlog.blogIn}" escape="false" style="line-height:150%;margin-left:30px; background-color:#e1ecf0;" />

逃脱

指示在中敏感的字符的标志 HTML和XML标记必须转义。这面旗是 默认设置为“true”