Skip to content

Commit

Permalink
See last commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
RevanProdigalKnight committed Jul 7, 2016
1 parent 914a955 commit e76eb7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codeformatter/lib/coldfusionbeautifier/__init__.py
Expand Up @@ -88,7 +88,7 @@ def __init__(self, source_text, opts=default_options()):

def expand_tag(self,str):
_str = str.group(0) # cache the original string in a variable for faster access
s = re.findall(r'([\w\-]+(?:=(?:"[^"]*"|\'[^\']*\'))?)',_str)
s = re.findall(r'(<[\S]+(?:=(?:"[^"]*"|\'[^\']*\'))?)',_str)
# If the tag has fewer than "minimum_attribute_count" attributes, leave it alone
if len(s) <= self.minimum_attribute_count: return _str
tagEnd = re.search(r'/?>$',_str)
Expand Down

0 comments on commit e76eb7e

Please sign in to comment.