Skip over CR, LF, tabs
This commit is contained in:
parent
e3335ace69
commit
f33b66c8f0
1 changed files with 3 additions and 0 deletions
|
@ -68,6 +68,9 @@ class Path():
|
|||
state = State.NONE
|
||||
|
||||
for ch in text:
|
||||
if ch == '\r' or ch == '\n' or ch == '\t':
|
||||
continue
|
||||
|
||||
c = ord(ch)
|
||||
|
||||
if state is State.NONE:
|
||||
|
|
Loading…
Add table
Reference in a new issue