Skip to content

Radius::OrdString does not work as Nokogiri css selector #24

@ronald

Description

@ronald

Not sure if this is the appropriate place...

I'm having an issue using RadiantCMS (unofficial branch) on Ruby 2.6 with Nokogiri 1.10.9 and Radius 0.7.5

In my case the selector is comming from Tag-Attribute which is a Radius::OrdString which breaks the Nokogiri-Selection:

selector = Radius::OrdString.new('div')
Nokogiri("<div></div>").css(selector).size

=> 0

While this works:

selector = 'div'
Nokogiri("<div></div>").css(selector).size

=> 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions