added blanks to the attribute filter in Filter#construct

This commit is contained in:
blackhedd 2006-10-27 00:14:21 +00:00
parent 0bf59f7897
commit 1748afac24

View file

@ -352,6 +352,7 @@ class FilterParser #:nodoc:
# Added a greatly-augmented filter contributed by Andre Nathan
# for detecting special characters in values. (15Aug06)
# Added blanks to the attribute filter (26Oct06)
def parse_filter_branch scanner
scanner.scan(/\s*/)
if token = scanner.scan( /[\w\-_]+/ )