Skip to content

Commit ac459d6

Browse files
committed
Merge pull request #14 from mweibel/muc/fix-html-message
Fix html message attachment to `muc` message.
2 parents a524fe4 + c14bee3 commit ac459d6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

muc/strophe.muc.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Strophe.addConnectionPlugin 'muc',
164164
if html_message?
165165
msg.c("html", xmlns: Strophe.NS.XHTML_IM)
166166
.c("body", xmlns: Strophe.NS.XHTML)
167-
.t(html_message)
167+
.h(html_message)
168168
if msg.node.childNodes.length is 0
169169
# html creation or import failed somewhere; fallback to plaintext
170170
parent = msg.node.parentNode

muc/strophe.muc.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)