From: Love U Ruby Date: 2013-04-15T02:07:29+09:00 Subject: Re: Why does #content method in nokogiri not printing the full text? tamouse mailing lists wrote in post #1105602: > On Sun, Apr 14, 2013 at 11:59 AM, tamouse mailing lists > wrote: > Follow-up: since you have a complete html document, why treat it as a > fragment? You can call Nokogiri::HTML.parse(html) instead and get the > actual complete document tree with all the proper nesting. I am just learning this `Nokogiri` first time. So don't have that much knowledge about their uses. Could you tell me please? When should I use `Nokogiri::HTML.parse(html)`, and the when the other? -- Posted via http://www.ruby-forum.com/.