simple_selector: attributes with brackets in double quotes not recognized #2418

Closed
wants to merge 1 commit into
from
Commits on Aug 4, 2011
  1. simple_selector: attributes with brackets in double quotes not recogn…

    Arsen7 committed Aug 4, 2011
    …ized
    
    HTML::Selector#simple_selector can recognize attributes in single and
    double quotes. But when the attribute value contains square brackets,
    and the value is enclosed in double quotes, an exception
    `ArgumentError: Invalid selector: "]` is thrown.
    
    Related to issue #2412.