Hi, You have probably entered the bold styling by mistake. Have a look at the stored content of that property ($doc.getValue($fieldName)) and you will probably notice that there are instructions (**something**) in it to make it bold. If this is true, edit the property accordingly... select all the text, bold it and then un-bold it again in an effort to get rid of all traces of bold styling in your content. Hope this helps, Eduard On Fri, Mar 6, 2015 at 12:41 PM, Pascal BASTIEN <[email protected]> wrote:
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/Docum...
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