# Rubyful Soup/SGML Parser parses newlines as an entity

**URL:** <https://www.ruby-forum.com/t/rubyful-soup-sgml-parser-parses-newlines-as-an-entity/138469>\
**Category:** Ruby\
**Created:** [May 23, 2008, 10:46am UTC](https://www.ruby-forum.com/t/rubyful-soup-sgml-parser-parses-newlines-as-an-entity/138469 "2008-05-23T10:46:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Srijayanth\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@Srijayanth\_S](https://www.ruby-forum.com/u/Srijayanth_S)\
**Post date:** [May 23, 2008, 10:46am UTC](https://www.ruby-forum.com/t/rubyful-soup-sgml-parser-parses-newlines-as-an-entity/138469/1 "2008-05-23T10:46:07Z")

</div>

Hello,

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:

[http://groups.google.com/group/beautifulsoup/browse\_thread/thread/177b1d80e6d76cee](http://groups.google.com/group/beautifulsoup/browse_thread/thread/177b1d80e6d76cee)

Anyone have any better solutions?

Thank you,

Jayanth
