Rubyful Soup/SGML Parser parses newlines as an entity


I have a problem with Rubyful Soup parsing “\n” as an entity. This
makes for some very hard parsing and navigation around the parse tree.
I looked around and found but one page citing this problem and even
that happened to be against Python. I am posting the link here:

Anyone have any better solutions?

Thank you,