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 committed 2014-10-20 09:29:42 +02:00
1 parent 15ebdb7de4
commit 21c27bf48e
3 files changed
+7 -7

No files matched your search

+1 -1
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]} ")
)
}
;