mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
iss #619 Add an entity to fix the rendering bug
This commit is contained in:
@@ -13,7 +13,8 @@ export function decodeEntities (text) {
|
||||
['amp', '&'],
|
||||
['lt', '<'],
|
||||
['gt', '>'],
|
||||
['#63', '\\?']
|
||||
['#63', '\\?'],
|
||||
['#36', '\\$'],
|
||||
]
|
||||
|
||||
for (var i = 0, max = entities.length; i < max; ++i) {
|
||||
@@ -28,7 +29,8 @@ export function encodeEntities (text) {
|
||||
['\'', 'apos'],
|
||||
['<', 'lt'],
|
||||
['>', 'gt'],
|
||||
['\\?', '#63']
|
||||
['\\?', '#63'],
|
||||
['\\$', '#36']
|
||||
]
|
||||
|
||||
entities.forEach((entity) => {
|
||||
|
||||
Reference in New Issue
Block a user