diff options
author | John McLear <john@mclear.co.uk> | 2013-03-14 18:18:14 -0300 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2013-03-14 18:18:14 -0300 |
commit | d72abceee7556c1337e0fde1d04b24b40a554cfb (patch) | |
tree | d6b2c66aeb989494ac5f1b403faa0fc5264f5a80 | |
parent | f0dee2d2ceaf7cddf23bc54bce5ed623199cc57e (diff) | |
download | etherpad-lite-d72abceee7556c1337e0fde1d04b24b40a554cfb.zip |
escape .color
-rw-r--r-- | src/static/js/pad_userlist.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/pad_userlist.js b/src/static/js/pad_userlist.js index c8f8e2c9..77ebb190 100644 --- a/src/static/js/pad_userlist.js +++ b/src/static/js/pad_userlist.js @@ -116,7 +116,7 @@ var paduserlist = (function() nameHtml = '<input data-l10n-id="pad.userlist.unnamed" type="text" class="editempty newinput" value="'+_('pad.userlist.unnamed')+'" ' + (isNameEditable(data) ? '' : 'disabled="disabled" ') + '/>'; } - return ['<td style="height:', height, 'px" class="usertdswatch"><div class="swatch" style="background:' + data.color + '"> </div></td>', '<td style="height:', height, 'px" class="usertdname">', nameHtml, '</td>', '<td style="height:', height, 'px" class="activity">', padutils.escapeHtml(data.activity), '</td>'].join(''); + return ['<td style="height:', height, 'px" class="usertdswatch"><div class="swatch" style="background:' + padutils.escapeHtml(data.color) + '"> </div></td>', '<td style="height:', height, 'px" class="usertdname">', nameHtml, '</td>', '<td style="height:', height, 'px" class="activity">', padutils.escapeHtml(data.activity), '</td>'].join(''); } function getRowHtml(id, innerHtml, authorId) |