Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Commit

Permalink
Allow html attributes to be separated by tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
tleruitte committed Dec 9, 2014
1 parent 7f14559 commit 0fb0f88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions viewlocation.py
Expand Up @@ -24,9 +24,9 @@ def at_html_attribute(view, attribute, locations):
check_attribute = ''
view_point = locations[0]
char = ''
while(char != ' ' and view_point > -1):
while(not char.isspace() and view_point > -1):
char = view.substr(view_point)
if(char != ' '):
if(not char.isspace()):
check_attribute += char
view_point -= 1
check_attribute = check_attribute[::-1]
Expand Down

0 comments on commit 0fb0f88

Please sign in to comment.