Surround class values with spaces.
When using a CSS class selector the resulting XPath string passed to contains() should be surrounded by spaces.
This commit is contained in:
parent
15ebdb7de4
commit
21c27bf48e
|
@ -103,7 +103,7 @@ rule
|
|||
:call,
|
||||
'contains',
|
||||
s(:call, 'concat', s(:string, ' '), axis, s(:string, ' ')),
|
||||
s(:string, val[1])
|
||||
s(:string, " #{val[1]} ")
|
||||
)
|
||||
}
|
||||
;
|
||||
|
|
Loading…
Reference in New Issue