1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

Delete an encode table

because when & is encoded, it affect other encodes due to they use &
This commit is contained in:
asmsuechan
2017-04-22 16:13:55 -07:00
parent 1722e103fc
commit 8e2fd300f6

View File

@@ -26,7 +26,6 @@ export function decodeEntities (text) {
export function encodeEntities (text) { export function encodeEntities (text) {
const entities = [ const entities = [
['\'', 'apos'], ['\'', 'apos'],
['&', 'amp'],
['<', 'lt'], ['<', 'lt'],
['>', 'gt'], ['>', 'gt'],
['\\?', '#63'] ['\\?', '#63']