summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-10-01 14:43:14 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-10-01 14:43:18 +0200
commit5eb359ec836542de262f524d65ac52405cdde9b6 (patch)
tree3b28a01c4f7665bb70ea582bed16ffc982ce5b5a
parent45813b176e39cc46159897693636990635d54b15 (diff)
downloadhyperkitty-5eb359ec836542de262f524d65ac52405cdde9b6.tar.gz
hyperkitty-5eb359ec836542de262f524d65ac52405cdde9b6.tar.xz
hyperkitty-5eb359ec836542de262f524d65ac52405cdde9b6.zip
Data from MM's REST server may contain HTML-escaped chars
-rw-r--r--hyperkitty/static/hyperkitty/js/hyperkitty-frontpage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/hyperkitty/static/hyperkitty/js/hyperkitty-frontpage.js b/hyperkitty/static/hyperkitty/js/hyperkitty-frontpage.js
index c38ed2f..2ba7d43 100644
--- a/hyperkitty/static/hyperkitty/js/hyperkitty-frontpage.js
+++ b/hyperkitty/static/hyperkitty/js/hyperkitty-frontpage.js
@@ -44,11 +44,11 @@ function update_list_properties(url) {
return;
}
if (data[name]["display_name"]) {
- $(this).find(".list-name").text(data[name]["display_name"]);
+ $(this).find(".list-name").html(data[name]["display_name"]);
}
if (data[name]["description"]) {
$(this).find(".list-description")
- .text(data[name]["description"]);
+ .html(data[name]["description"]);
}
});
},