Skip to content

Bug: Incorrect rendering when using HTML inline tags #19

@hi9527-x

Description

@hi9527-x

Hello,

I've also developed a Vue component for rendering Markdown, similar to yours.

I noticed that when directly converting Markdown to MDAST, there's an issue with rendering inline HTML tags - the processor incorrectly treats the content inside these inline tags as Markdown that should be rendered, which leads to strange rendering results.

You can check my component for reference. The current solution is to convert Markdown to HAST first before rendering, which resolves this issue.

squirrel-x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions