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

"comment" in unlikely candidates mutilates formatted code blocks #182

Open
abeyerpath opened this issue Mar 6, 2024 · 1 comment
Open

Comments

@abeyerpath
Copy link

I've seen several cases of code blocks using color schemes where "comment" becomes a style and starts getting trimmed. At best this loses all the comments, and may further mutilate the structure.

I wonder if the unlikely candidates trimming should ignore elements inside of pre/code blocks?

@buriy
Copy link
Owner

buriy commented Apr 12, 2024

Then it wouldn't cut ads and different "related" blocks that didn't get below the cut threshold.
Could you please provide an (or several) example page(s)?

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

2 participants