summaryrefslogtreecommitdiff
path: root/scanner.py
diff options
context:
space:
mode:
Diffstat (limited to 'scanner.py')
-rw-r--r--scanner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scanner.py b/scanner.py
index 46cd9d7..7267cea 100644
--- a/scanner.py
+++ b/scanner.py
@@ -1675,6 +1675,7 @@ class Scanner(object):
or 'A' <= ch <= 'Z'
or 'a' <= ch <= 'z'
or ch in "-;/?:@&=+$,_.!~*'()[]%"
+ or ((self.scanner_processing_version > (1, 1)) and ch == "#")
):
if ch == '%':
chunks.append(self.reader.prefix(length))