-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes with PHP files #9
Comments
与php语法的 <p? ?>发生兼容性问题,会提示错误 |
|
Do the trick in #20 to fix this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am having a problem with the linter. It seems to crash with PHP files when there is PHP code in the files. Here is the latest error that I got.
`SublimeLinter: #59 htmlhint routes.php ERROR:
Linter crashed.
Traceback (most recent call last):
File "lint.backend in /Users/AlexBet/Library/Application Support/Sublime Text 3/Installed Packages/SublimeLinter.sublime-package", line 100, in execute_lint_task
File "lint.linter in /Users/AlexBet/Library/Application Support/Sublime Text 3/Installed Packages/SublimeLinter.sublime-package", line 777, in lint
File "linter in /Users/AlexBet/Library/Application Support/Sublime Text 3/Installed Packages/SublimeLinter-contrib-htmlhint.sublime-package", line 38, in find_errors
File "/Applications/Sublime Text.app/Contents/MacOS/sublime.py", line 215, in decode_value
raise ValueError(err)
ValueError: Error trying to decode value: Unexpected character, expected a comma or closing bracket in (data):1:65538`
This happened when I opened a PHP file which has all PHP code, no HTML code at all.
The text was updated successfully, but these errors were encountered: