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

Add question mark

This commit is contained in:
asmsuechan
2017-03-19 14:18:59 -07:00
parent 04097ecfcd
commit f7e0cb655f

View File

@@ -14,7 +14,8 @@ function decodeHTMLEntities (text) {
['apos', '\''], ['apos', '\''],
['amp', '&'], ['amp', '&'],
['lt', '<'], ['lt', '<'],
['gt', '>'] ['gt', '>'],
['#63', '?']
] ]
for (var i = 0, max = entities.length; i < max; ++i) { for (var i = 0, max = entities.length; i < max; ++i) {
@@ -29,7 +30,8 @@ function encodeHTMLEntities (text) {
['\'', 'apos'], ['\'', 'apos'],
['&', 'amp'], ['&', 'amp'],
['<', 'lt'], ['<', 'lt'],
['>', 'gt'] ['>', 'gt'],
['?', '#63']
] ]
for (var i = 0, max = entities.length; i < max; ++i) { for (var i = 0, max = entities.length; i < max; ++i) {