html2text icon indicating copy to clipboard operation
html2text copied to clipboard

ignore_emphasis header

Open adroullier opened this issue 13 years ago • 2 comments

Hi, is there a reason not to use "ignore_emphasis" for header tags (h1, h2, h3, ...), too? Or is this just not implemented, yet?

h = html2text.HTML2Text() h.ignore_emphasis=True h.handle("

title

") u'# title\n\n'

Arndt

adroullier avatar Jan 14 '12 15:01 adroullier

That's not really emphasis...

aaronsw avatar Jan 17 '12 19:01 aaronsw

Hi, How to ignore "#" when handling the html with h1,h2,h3....... Is there configuration?

GingerNg avatar Apr 19 '19 13:04 GingerNg