fix white-space treatment in nokogiri