html2text icon indicating copy to clipboard operation
html2text copied to clipboard

Tables should be passed through instead of being stripped out

Open fmarier opened this issue 13 years ago • 3 comments

In addition, links inside tables need to be HTML otherwise they will not be recognized as links.

fmarier avatar Nov 05 '12 09:11 fmarier

Can we make this an option, default off? I don't think most users expect to get big chunks of HTML in their output.

aaronsw avatar Nov 05 '12 15:11 aaronsw

Sure, if you want to turn that into an option, that's not a bad idea. I think you're right that people don't expect lots of HTML, but at the same time, stripping out the tables and just outputting broken formatting is not ideal either.

So, personally I'm not sure which one should be the default, but in my use case, I certainly didn't want to lose my tables after converting from HTML to Markdown.

fmarier avatar Nov 05 '12 19:11 fmarier

Wouldn't it be more useful to convert to Markdown tables? Issue #50 seems to be much more interesting than this.

mcepl avatar Nov 06 '13 12:11 mcepl