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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user