Skip to content

Images right after ! #54

@filiph

Description

@filiph

Just a quick idea for a (regression?) unit test:

<div>Wow!<img src="path.png"></div>

I saw this as a unit test in a javascript html-to-markdown project but I forget where exactly.

This can fail if the markdown converter simply generates

Wow!![](path.png)

Apparently, that's a problem for (some?) Markdown parsers.

So that javascript package just verified that a blank space is inserted between the semantic ! and the image element.

Wow! ![](path.png)

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