1
0
mirror of https://github.com/BoostIo/Boostnote synced 2026-01-04 12:39:17 +00:00

Merge pull request #633 from asmsuechan/iss-619

Fix a rendering bug
This commit is contained in:
SuenagaRyota
2017-06-12 18:44:40 +09:00
committed by GitHub
2 changed files with 8 additions and 4 deletions

View File

@@ -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) => {