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

Commit

Permalink
Fix escaping of app names (bug 853476)
Browse files Browse the repository at this point in the history
  • Loading branch information
robhudson committed Mar 21, 2013
1 parent 18586fa commit b9b10d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions media/js/mkt/reviewers.js
Expand Up @@ -110,6 +110,7 @@
} else {
var results = [];
$.each(data.objects, function(i, item) {
data.objects[i].name = _.escape(data.objects[i].name);
results.push(search_result_row(item));
});
$searchIsland.html(
Expand Down
Expand Up @@ -3,7 +3,6 @@
<thead>
<tr class="listing-header">
<th>{{ _('App') }}</th>
<th>{{ _('Author') }}</th>
<th>{{ _('Devices') }}</th>
</tr>
</thead>
Expand All @@ -16,7 +15,6 @@
<span class="app-id">{id}</span>
<a href="{{ url('reviewers.apps.review', '__slug__').replace('__slug__', '{app_slug}') }}">{name}</a>
</td>
<td>{author}</td>
<td>{devices}</td>
</tr>
</script>
Expand Down

0 comments on commit b9b10d5

Please sign in to comment.