engine icon indicating copy to clipboard operation
engine copied to clipboard

`p` in `a` leads to broken link when converting to markdown

Open martinratinaud opened this issue 3 years ago • 4 comments

This might be the expected behavior and to be handle with a specific filter but I believe it's not

Example:

<ul>
<li><a href="#SCItemConditions2"><p>ARTICLE I. OBJET</p></a></li>
</ul>

leads to

[

ARTICLE I. OBJET

](#SCItemConditions2)

Here is an example on the contribution tool (Click on Verify Version)

martinratinaud avatar Aug 30 '22 13:08 martinratinaud

Fixed in this PR https://github.com/mixmark-io/turndown/pull/419

Ndpnt avatar Aug 31 '22 10:08 Ndpnt

@Ndpnt this has been 6 days so I think we should proceed with our own fork. Last commit was done 10 months ago

martinratinaud avatar Sep 06 '22 05:09 martinratinaud

@Ndpnt where is the PR where you use this fork? I did not see it

martinratinaud avatar Sep 06 '22 14:09 martinratinaud

@Ndpnt where is the PR where you use this fork? I did not see it

Not yet created

Ndpnt avatar Sep 06 '22 14:09 Ndpnt

Duplicate of #903.

MattiSG avatar Apr 24 '23 09:04 MattiSG