tests for php and html dependencies
This commit is contained in:
parent
ffa9e410b4
commit
54fbc8ee22
4 changed files with 243 additions and 2 deletions
|
@ -61,10 +61,10 @@ class PhpParser(TokenParser):
|
|||
|
||||
def _process_literal_string(self, token, content):
|
||||
if self.state == 'include':
|
||||
if content != '"':
|
||||
if content != '"' and content != "'":
|
||||
content = content.strip()
|
||||
if u(token) == 'Token.Literal.String.Double':
|
||||
content = u('"{0}"').format(content)
|
||||
content = u("'{0}'").format(content)
|
||||
self.append(content)
|
||||
self.state = None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue