You’d think that the to_plain_text() method would conver the HTML to
whatever text would be rendered by a browser. That means stripping all
extraneous whitespace, converting
tags to having
carriage returns, etc… Not only does it not do that but links exhibit
exceptionally weird behaviour. They append the URL of the link in
brackets. What’s up with that?
Can anyone explain the motivation behind the to_plain_text() method
hpricot? Does anyone agree with my opinion on what it should do?