mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Add question mark
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user