1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Fix to string literal

This commit is contained in:
asmsuechan
2017-03-21 23:33:08 -07:00
parent 6229ca7ac9
commit cd2dc471c7

View File

@@ -35,7 +35,7 @@ function encodeHTMLEntities (text) {
]
for (let i = 0; i < entities.length; ++i) {
text = text.replace(entities[i][0], '&' + entities[i][1] + ';')
text = text.replace(entities[i][0], `&${entities[i][1]};`)
}
return text