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:
Yorick Peterse 2014-10-20 09:29:42 +02:00
parent 15ebdb7de4
commit 21c27bf48e
3 changed files with 7 additions and 7 deletions

View File

@ -103,7 +103,7 @@ rule
:call,
'contains',
s(:call, 'concat', s(:string, ' '), axis, s(:string, ' ')),
s(:string, val[1])
s(:string, " #{val[1]} ")
)
}
;