'
+ o += '' + escHtml(curCipher.cipherName) + gemCalcModeLabel(curCipher) + ''
} else {
o += ''
}
@@ -249,7 +249,7 @@ function updateWordBreakdown(impName = breakCipher, impBool = false, chartUpd =
if (curCipher.cp.length > chLimit) chartClass = 'SimpleBreakChartLong'
o = '
'
o += '
' + escHtml(simplePhr) + ' = ' + curCipher.sumArr.reduce(getSum) + ' ' // add all values in array
- o += '(' + curCipher.cipherName + gemCalcModeLabel(curCipher) + ')
'
+ o += '(' + escHtml(curCipher.cipherName) + gemCalcModeLabel(curCipher) + ')'
$('#BreakTableContainer').prepend(o) // insert in the beginning of the table
}
@@ -322,7 +322,7 @@ function updateCipherChart(curCipher) {
o += '
'
o += '
-
' // Space
o += '
'
- o += '' + curCipher.cipherName + ''
+ o += '' + escHtml(curCipher.cipherName) + ''
o += '
'
o += '
←
' // Backspace
o += '
'
@@ -376,7 +376,7 @@ function updateCipherChartGemCard(impName = breakCipher) {
o += '
'
o += '
'
- o += '' + curCipher.cipherName + ''
+ o += '' + escHtml(curCipher.cipherName) + ''
o += '
'
var halfL = curCipher.cArr.length / 2
diff --git a/calc/calc.js b/calc/calc.js
index a6d2092..f58e9e8 100644
--- a/calc/calc.js
+++ b/calc/calc.js
@@ -443,7 +443,7 @@ function displayCipherCatDetailed(curCat) {
} // checkbox state
o +=
'