We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fda6e57 commit c0656b9Copy full SHA for c0656b9
nginx.py
@@ -485,7 +485,7 @@ def loads(data, conf=True):
485
index += m.end()
486
continue
487
488
- m = re.compile(r'^(\s*)#\s*(.*?)\n', re.S).search(data[index:])
+ m = re.compile(r'^(\s*)#[ \r\t\f]*(.*?)\n', re.S).search(data[index:])
489
if m:
490
c = Comment(m.group(2), inline='\n' not in m.group(1))
491
if lopen and isinstance(lopen[0], Container):
0 commit comments