diff --git a/app/js/tl/poll.js b/app/js/tl/poll.js index 394579d2..8803a10c 100644 --- a/app/js/tl/poll.js +++ b/app/js/tl/poll.js @@ -108,7 +108,7 @@ function voteMastodonrefresh(acct_id,id){ if(!json.voted){ votesel='voteSelMastodon(\''+acct_id+'\',\''+json.id+'\','+keyc+','+json.multiple+')'; } - poll=poll+'
'+choice.title+'('+choice.votes_count+')
'; + poll=poll+'
'+escapeHTML(choice.title)+'('+choice.votes_count+')
'; }); poll=poll+myvote+'' + diff --git a/app/view/en/index.html b/app/view/en/index.html index a07505f2..d5e8dceb 100644 --- a/app/view/en/index.html +++ b/app/view/en/index.html @@ -32,7 +32,7 @@