Description
-
Holds HTML part of the message.
Property type
-
A String value.
Syntax
-
object.HTMLText [= value]
The HTMLText Property syntax has these parts:
| object |
An expression evaluating to an object
of type XMPPMessage. |
| value |
A String value. |
Remarks
-
A message can have HTML formatted text along with plain
text. If that is the case, this property will only hold
HTML part of message contents. You could paste that code 'as is' in
your browser for it to show it as HTML content.
-
-
You should also here specify XHTML formatted message that should
be sent out to the contact. Please make sure that you provide valid
XHTML content. wodXMPP will try to rewrite it if necessary, so
connection doesn't broke from the server with "unformatted XML"
error. However, it is possible that wodXMPP's reformat results in
something you did not expect in the first place. For example, <BR>
should be provided as <BR/> as tag you would most likely use.
|