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

markdown conversion removes elements with anchors in a list #788

Open
ziodave opened this issue Feb 20, 2025 · 0 comments
Open

markdown conversion removes elements with anchors in a list #788

ziodave opened this issue Feb 20, 2025 · 0 comments

Comments

@ziodave
Copy link

ziodave commented Feb 20, 2025

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant