Hello,
In my XWiki application, I have a Sheet + Class with a property with 
textArea/wysiwyg type.
I use public String display(String fieldname, String mode)
http://maven.xwiki.org/site/docs/xwiki-javadoc-5.0.x/com/xpn/xwiki/api/Document.html#display%28java.lang.String,%20java.lang.String%29

Unfortunaly in view mode all values are rendering between <strong> </strong>.
How can I remove them?

An example, in edit mode, in my  textArea/wysiwyg, I have
-----------------
Some text bold

   1. first
   2. second
-----------------

In view mode I obtein:
Some text bold

  2. first
  3. second
(I must reinit counter list too)

HTML code:
<strong></strong>
<p>
<strong>
Some text
<strong>bold</strong>
</strong>
</p>
<ol>
<li style="list-style-type: none">
<strong></strong>
</li>
<li>
<strong>first</strong>
</li>
<li>
</ol>
Of course i cannot remove <strong></strong> or modify style because I want to 
keep this one: <strong>bold</strong>

Thxs for any help


Pascal B

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to