You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hit the same issue. The root cause is convert_br() discarding its text parameter — normally fine since <br> is void, but Python's html.parser sometimes nests text inside <br> when mixing <br> and <br /> styles.
Activity
ArkNill commentedon Mar 16, 2026
I hit the same issue. The root cause is
convert_br()discarding itstextparameter — normally fine since<br>is void, but Python'shtml.parsersometimes nests text inside<br>when mixing<br>and<br />styles.A one-line fix works:
Same underlying issue as #58.
fix: preserve text nested inside <br> by html.parser (#264)