Permalink
Browse files

See last commit message

  • Loading branch information...
1 parent 914a955 commit e76eb7ee8a985c2882f28c7f0e86188e3abcb7db @RevanProdigalKnight RevanProdigalKnight committed on GitHub Jul 7, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 codeformatter/lib/coldfusionbeautifier/__init__.py
@@ -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)

0 comments on commit e76eb7e

Please sign in to comment.