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
@@ -331,8 +331,8 @@ $(document).ready(function(){
|
||||
openImageWindow(".HistoryTable", fileName, 2.0);
|
||||
});
|
||||
$("body").on("click", "#btn-date-calc-png", function () {
|
||||
$('#dateDesc1Area').html('<span class="dateDescription">'+dateDesc1Saved+'</span>') // input to fixed text
|
||||
$('#dateDesc2Area').html('<span class="dateDescription">'+dateDesc2Saved+'</span>')
|
||||
$('#dateDesc1Area').html('<span class="dateDescription">'+escHtml(dateDesc1Saved)+'</span>') // input to fixed text
|
||||
$('#dateDesc2Area').html('<span class="dateDescription">'+escHtml(dateDesc2Saved)+'</span>')
|
||||
$('.dateCalcTable2').addClass('elemBorderScr') // add outline
|
||||
// phrase-with-spaces_2021-03-26_10-23-52_table.png
|
||||
var fileName = (saved_d1.getMonth()+1)+'-'+saved_d1.getDate()+'-'+saved_d1.getFullYear()+'_'+
|
||||
|
||||
Reference in new issue
Block a user