calc: escape the Date Calculator labels (escHtml); CHANGELOG v2.6.1
Completes the v2.6.0 escaping pass: the From/to description labels go through escHtml at the date-menu render, the Print Date Durations label swap, and the restore after the image export. Cache-bust bumps for the three scripts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7d76b1f550
commit
d025c7e810
5 files changed
+16
-9
No files matched your search
+2
-2
@@ -20,8 +20,8 @@ function openImageWindow(element, imgName = "", sRatio = window.devicePixelRatio
|
||||
imageDataURL = trimCanvas(canvas); // canvas to "data:image/png;base64, ..."
|
||||
|
||||
if (element == '.dateCalcTable2') { // restore date labels as input
|
||||
$('#dateDesc1Area').html('<input class="dateDescription" id="dateDesc1" value="'+dateDesc1Saved+'">')
|
||||
$('#dateDesc2Area').html('<input class="dateDescription" id="dateDesc2" value="'+dateDesc2Saved+'">')
|
||||
$('#dateDesc1Area').html('<input class="dateDescription" id="dateDesc1" value="'+escHtml(dateDesc1Saved)+'">')
|
||||
$('#dateDesc2Area').html('<input class="dateDescription" id="dateDesc2" value="'+escHtml(dateDesc2Saved)+'">')
|
||||
$('.dateCalcTable2').removeClass('elemBorderScr') // add outline
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user