<s> tag cause the import to crash
Closed this issue ยท 1 comments
kptdobe commented
Try to import a page with a <s>
tag, the import crashes:
Error: Cannot handle unknown node `delete`
at Object.unknown (...helix-importer/node_modules/mdast-util-to-markdown/lib/index.js:113:9)
at Object.one [as handle] (...helix-importer/node_modules/zwitch/index.js:108:17)
at containerPhrasing (...helix-importer/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js:83:15)
at Object.containerPhrasingBound [as containerPhrasing] (...helix-importer/node_modules/mdast-util-to-markdown/lib/index.js:139:10)
at Object.paragraph (...helix-importer/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js:18:23)
at Object.one [as handle] (...helix-importer/node_modules/zwitch/index.js:108:17)
at containerFlow (...helix-importer/node_modules/mdast-util-to-markdown/lib/util/container-flow.js:36:15)
at Object.containerFlowBound [as containerFlow] (...helix-importer/node_modules/mdast-util-to-markdown/lib/index.js:158:10)
at Object.root (...helix-importer/node_modules/mdast-util-to-markdown/lib/handle/root.js:22:13)
at Object.one [as handle] (...helix-importer/node_modules/zwitch/index.js:108:17)
at toMarkdown (...helix-importer/node_modules/mdast-util-to-markdown/lib/index.js:71:22)
at compiler (...helix-importer/node_modules/remark-stringify/lib/index.js:16:12)
at Function.stringify (...helix-importer/node_modules/unified/lib/index.js:290:12)
at ...helix-importer/node_modules/unified/lib/index.js:398:36
at done (...helix-importer/node_modules/unified/lib/index.js:337:11)
at next (...helix-importer/node_modules/trough/index.js:67:9)
at done (...helix-importer/node_modules/trough/index.js:148:7)
at then (...helix-importer/node_modules/trough/index.js:158:5)
at wrapped (...helix-importer/node_modules/trough/index.js:136:9)
at next (...helix-importer/node_modules/trough/index.js:65:23)
at done (...helix-importer/node_modules/trough/index.js:148:7)
at then (...helix-importer/node_modules/trough/index.js:158:5)
at wrapped (...helix-importer/node_modules/trough/index.js:136:9)
at next (...helix-importer/node_modules/trough/index.js:65:23)
at Object.run (...helix-importer/node_modules/trough/index.js:36:5)
at executor (...helix-importer/node_modules/unified/lib/index.js:321:20)
at Function.run (...helix-importer/node_modules/unified/lib/index.js:312:5)
at executor (...helix-importer/node_modules/unified/lib/index.js:393:17)
at new Promise (<anonymous>)
at Function.process (...helix-importer/node_modules/unified/lib/index.js:380:14)
at Test.createMarkdown (...helix-importer/src/importer/PageImporter.js:99:34)
at ...helix-importer/src/importer/PageImporter.js:311:36
at Function.asyncForEach (...helix-importer/src/utils/Utils.js:17:13)
at Test.import (...helix-importer/src/importer/PageImporter.js:309:21)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async featureTest (...helix-importer/test/importers/PageImporter.spec.js:144:21)
at async Context.<anonymous> (...helix-importer/test/importers/PageImporter.spec.js:182:5)
github-actions commented
๐ This issue has been resolved in version 2.5.12 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐