Javascript escape of html entities in ticket title for the My Tickets view

This commit is contained in:
Sam Splunks 2024-12-05 09:33:17 +00:00
parent b02e8d4162
commit e0a04b5040

View File

@ -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>