template literals

This commit is contained in:
photonconvergence 2024-01-28 20:50:04 -08:00
parent 428b8cd73d
commit f786e3a684

View File

@ -28,9 +28,9 @@ sub itemContentChanged()
end if
if isValid(itemData.indexNumber)
indexNumber = itemData.indexNumber.toStr() + ". "
indexNumber = `${itemData.indexNumber}. `
if isValid(itemData.indexNumberEnd)
indexNumber = itemData.indexNumber.toStr() + "-" + itemData.indexNumberEnd.toStr() + ". "
indexNumber = `${itemData.indexNumber}-${itemData.indexNumberEnd}. `
end if
else
indexNumber = ""