mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2025-03-11 05:28:19 +01:00
Javascript escape of html entities in ticket title for the My Tickets view
This commit is contained in:
parent
b02e8d4162
commit
e0a04b5040
@ -35,6 +35,7 @@ window.addEventListener('load', function()
|
||||
$.get(endpoint, function(data) {
|
||||
$('#ticketsTable tbody').empty();
|
||||
data.results.forEach(function(ticket) {
|
||||
ticket.title = $('div').text(ticket.title).html();
|
||||
$('#ticketsTable tbody').append(`
|
||||
<tr>
|
||||
<td>
|
||||
|
Loading…
Reference in New Issue
Block a user