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