aaronsw / html2text

Convert HTML to Markdown-formatted text.
http://www.aaronsw.com/2002/html2text/
GNU General Public License v3.0
2.57k stars 410 forks source link

Remove SLASH character before some list mark character #109

Open scila1996 opened 7 years ago

scila1996 commented 7 years ago

This lib is awesome, but i have a small problem. i have a html code -> ...

import html2text s="\<div>- this is text \<\/div>" print html2text.html2text(s) output: \- this is text

What is puporse of first slash character in the above output ??? HOw do I remove it ?

THank you !