diff --git a/tpl/Reservation/pdf.tpl b/tpl/Reservation/pdf.tpl index 6275cbe52..351252db8 100644 --- a/tpl/Reservation/pdf.tpl +++ b/tpl/Reservation/pdf.tpl @@ -74,7 +74,7 @@ $('.btnPDF').click(function (e) { styles: { lineWidth: 0.02}, theme: 'plain', body: [ - { user: '{$ReservationUserName}'}, + { user: '{$ReservationUserName|escape:'javascript'}'}, ], columns: [ { header: '{translate key='User'}', dataKey: 'user' },