Skip to content

markdown conversion removes elements with anchors in a list #788

@ziodave

Description

@ziodave

I have the following HTML:

                            <p>If your eye is twitching and you don’t have any other symptoms, don’t panic. Common <a
                                    href="/symptoms/eye-twitching/why-is-eye-twitching/" data-show="new" target="_self">eye
                                twitching causes</a> include:</p>
                            <ul>
                                <li><p><a href="/conditions/related/stress-and-vision/" target="_self">Stress</a></p>
                                </li>
                                <li><p>Fatigue</p></li>
                                <li><p>Caffeine or alcohol intake</p></li>
                                <li><p><a href="/conditions/computer-vision-syndrome/digital-eye-strain/relief/"
                                          target="_self">Eye strain</a></p></li>
                                <li><p><a href="/conditions/dry-eye/overview-of-dry-eye-syndrome/" target="_self">Dry
                                    eyes</a></p></li>
                                <li><p>Poor nutrition</p></li>
                                <li><p><a href="/eye-care/cosmetic/dark-circles-under-eyes/"
                                          target="_self">Allergies</a></p></li>
                                <li><p><a href="/eye-care/vision-health/alcohol-drugs/smoking-and-eyes/" target="_self">Smoking</a>
                                </p></li>
                            </ul>

I am using --markdown (and also tried with and without --recall --links), and I am getting this:

If your eye is twitching and you don’t have any other symptoms, don’t panic. Common eye twitching causes include:

Fatigue

Caffeine or alcohol intake

Poor nutrition

I would expect to get this:

If your eye is twitching and you don’t have any other symptoms, don’t panic. Common eye twitching causes include:

Stress

Fatigue

Caffeine or alcohol intake

Eye strain

Poor nutrition

Smoking

Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions