Adding HTML to the messages

Hi everybody,

I have a problem when I try to send messages with HTML code inside, when I receive the mesasage I can see the HTML tags, for instance:

(9:50 AM) datenshi: servicios
(9:50 AM) bot:
¿Qué servicios ofrecemos?
Consigue los mejores resultados con la ayuda de nuestro Servicio de Consultoría. Encuentra más información sobre este tema en la sección Servicios.

© 2009

I’m using Openfire+Spark for test, and I debug with eclipse, and I realized that when the body is copied to de Packet (Message) object it changes ‘<’ and ‘>’ with ‘<’ and ‘>’. Maybe a codification problem? but where can I change it in openfire console?

When I debug this is the packet sent:

C2S - SENT (2767173):
¿Qué servicios ofrecemos?
Consigue los mejores resultados con la ayuda de nuestro Servicio de Consultoría. Encuentra más información sobre este tema en la sección <a href=“http://www.xxxxxx.com/index.php/es/servicios.html”>Servicios</a>.

© 2009

e4CRfn

Thanks.

Hi,

Check out http://xmpp.org/extensions/xep-0071.html

You’ll see how to correctly embed html in message stanzas.

daryl