Skip to content

sanitizing data causes "undefined method `strip' for #<Array..." #325

Closed
@epipheus

Description

@epipheus

I'm getting an error in the browser when ajax-datatables-rails calls sanitize(data) here

When I track it down it doesn't like this line in Nokogiri (parent of Loofah)

          # This is a horrible hack, but I don't care
          if tags.strip =~ /^<body/i
            path = "/html/body"
          else
            path = "/html/body/node()"
          end

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions