added blanks to the attribute filter in Filter#construct
This commit is contained in:
parent
0bf59f7897
commit
1748afac24
1 changed files with 2 additions and 1 deletions
|
@ -352,6 +352,7 @@ class FilterParser #:nodoc:
|
||||||
|
|
||||||
# Added a greatly-augmented filter contributed by Andre Nathan
|
# Added a greatly-augmented filter contributed by Andre Nathan
|
||||||
# for detecting special characters in values. (15Aug06)
|
# for detecting special characters in values. (15Aug06)
|
||||||
|
# Added blanks to the attribute filter (26Oct06)
|
||||||
def parse_filter_branch scanner
|
def parse_filter_branch scanner
|
||||||
scanner.scan(/\s*/)
|
scanner.scan(/\s*/)
|
||||||
if token = scanner.scan( /[\w\-_]+/ )
|
if token = scanner.scan( /[\w\-_]+/ )
|
||||||
|
|
Loading…
Add table
Reference in a new issue