python-readability icon indicating copy to clipboard operation
python-readability copied to clipboard

"comment" in unlikely candidates mutilates formatted code blocks

Open abeyerpath opened this issue 1 year ago • 1 comments

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?

abeyerpath avatar Mar 06 '24 03:03 abeyerpath

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)?

buriy avatar Apr 12 '24 09:04 buriy