Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
esc the note body
Browse files Browse the repository at this point in the history
  • Loading branch information
ngokevin authored and Andy McKay committed Nov 24, 2014
1 parent bdce26b commit 144d07b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media/js/devreg/reviewers/reviewers_commbadge.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define('reviewersCommbadge', ['login'], function(login) {
// Append notes to table.
$('tbody', $table).append(noteTemplate({
attachments: note.attachments,
body: note.body,
body: escape_(note.body),
// L10n: {0} is author of note, {1} is a datetime. (e.g., "by Kevin on Feburary 18th 2014 12:12 pm").
metadata: format(gettext('By {0} on {1}'),
[author, created]),
Expand Down

0 comments on commit 144d07b

Please sign in to comment.