Paste from Word

  • 1 reply.
  • This is not yet resolved.
  • This question was started by Isa.
  • Last post by Robbert Broersma.
Isa
member
March 31st 2009
Hi,

In some cases, paste some text from Word to Xopus give the following result with undesired "xhtml:" tags :
<uliste1> <li> <al> al. 1 sur renvoi de l’art., sauf statuts[1].</al></li>
</uliste1> <al> </al> <uliste1> <li> <al>conformément à l’alinéa 2 de l’article du Code de commerce[2].</al> </li></uliste1> <al> </al> <uliste1> <li> <al>C. com., art. L. 222-11[3].</al> </li> </uliste1> <al> <xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml"> <xhtml:p>[2] V. <xhtml:i>infra</xhtml:i>, n°xxx.</xhtml:p> </xhtml:p> <xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml"> <xhtml:p>[3] Dans ce cas, ...</xhtml:p> </xhtml:p> </al>

I tried to reproduce what the user have done (paste a list with notes from Word) but it works well. Have you got an idea about when this problem can appear and how to prevent it?

Thanks.
Robbert Broersma
anonymous user
April 1st 2009
No, we haven't seen that before. Are the resulting XHTML elements inserted in the XML document, or is that code inserted as plain text?

We've got a couple of Word versions around, if you would send us the Word document and a reproducer case, we might be able to reproduce it ourselfes.

React

HTML will be shown as HTML code.
Linebreaks and Links starting with http:// are automatically resolved