Project

General

Profile

XEP-0071 problem

leo lee
Added over 2 years ago

Hi,guys!

I am sending a message with XHTML,but tigase parse the message cause content loss.

For example(which from XEP-0071 chapter9,example 2):

<message>
  <body>Wow, I&apos;m green with envy!</body>
  <html xmlns='http://jabber.org/protocol/xhtml-im'>
    <body xmlns='http://www.w3.org/1999/xhtml'>
      <p style='font-size:large'>
        <em>Wow</em>, I&apos;m <span style='color:green'>green</span>
        with <strong>envy</strong>!
      </p>
    </body>
  </html>
</message>

when parse finished,the "P" element has 3 children elements,but the content ", I'm" and "with" is missing,only left the last character '!'.

could you help me to solve this problem,thanks very much.


Replies (1)

Added by Wojciech Kapcia TigaseTeam over 2 years ago

Which Tigase version do you use? There was a known problem in older Tigase version causing such problem. Please try latest 7.1.0 nightly which should contain the fix.

    (1-1/1)