aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-06-25 06:24:46 +0000
committerMario <mario@mariovavti.com>2021-06-25 06:24:46 +0000
commitd42a998e49ca42696022316a8a527c39fc2fdf57 (patch)
tree811a1fb25a0ebc26c3228d34ee1adc1f82e83dba /view
parent167db22e15c72c32cd67ce1a2b242dc4527e0b64 (diff)
downloadvolse-hubzilla-d42a998e49ca42696022316a8a527c39fc2fdf57.tar.gz
volse-hubzilla-d42a998e49ca42696022316a8a527c39fc2fdf57.tar.bz2
volse-hubzilla-d42a998e49ca42696022316a8a527c39fc2fdf57.zip
strip html tags from notification message
Diffstat (limited to 'view')
-rw-r--r--view/js/mod_hq.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/view/js/mod_hq.js b/view/js/mod_hq.js
index 7583a4ddd..87d9f1ef3 100644
--- a/view/js/mod_hq.js
+++ b/view/js/mod_hq.js
@@ -13,6 +13,7 @@ $(document).ready(function() {
});
$(document).on('hz:handleNetworkNotificationsItems', function(e, obj) {
- push_notification(obj.message, obj.name);
+ push_notification($('<p>' + obj.message + '</p>').text(), obj.name);
});
+
});