Quantcast
Channel: htmlagilitypack Forum Rss Feed
Viewing all articles
Browse latest Browse all 655

New Post: Expanding HtmlConvert.cs to handle List Items

$
0
0

Hello there

We've tried using the excellent HtmlToTxt sample:

http://htmlagilitypack.codeplex.com/SourceControl/changeset/view/98677#1010173

Whilst it converts text great, removed the CSS etc, it fails to handle <li> tags, specifically, they all apear on 1 line, how would one adapt HtmlConvert.cs to replace <li></li> with a linebreak?

This would also need to handle a missing </li>.

Any ideas?

Many thanks

Regards

Jordon


Viewing all articles
Browse latest Browse all 655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>