Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parsing with format:markdown fails #4813

Open
chaals opened this issue Oct 10, 2024 · 0 comments
Open

parsing with format:markdown fails #4813

chaals opened this issue Oct 10, 2024 · 0 comments
Labels

Comments

@chaals
Copy link

chaals commented Oct 10, 2024

Description of problem

Taking the example HTML document at the start of the documentation, and adding

format: "markdown",

as the first line of the respecConfig definition I expected it to call the markdown parser and parse markdown added to the content.

Instead, the console produces the following error:

TypeError: Cannot read properties of undefined (reading 'search')
at Sr.parseInfoString (markdown.js:60:35)
at Sr.code (markdown.js:24:48)
at cn.parse (marked.esm.js:1843:42)
at parse (marked.esm.js:1803:23)
at Object.parse (marked.esm.js:2335:28)
at Function.dn [as parse] (marked.esm.js:2368:27)
at Rr (markdown.js:110:14)
at Er (markdown.js:135:23)
at Object.run (markdown.js:204:3)
at base-runner.js:71:24

And no markdown parsing happens (e.g. a couple of lines that would be separate paragraphs are just run together as a single paragraph according to HTML parsing)

@chaals chaals added the bug label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant