You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
The syntax of some parts of php code is not highlighted correctly, specifically it highlights the html code contained in the string and not the string itself
Steps to Reproduce
open a blank php file and paste the following code:
Arcanemagus
changed the title
Sometime in php file the syntax is not highlighted correctly
Extremely long lines followed by HTML breaks highlighting
Jun 14, 2019
It looks like since the first line is so long that it passes the tokenization limit before it hits the end of the string starting with 'min-height: auto it falls into some bad state where it assumes that the next line is no longer PHP code and falls back to HTML for it.
This likely won't be able to be solved until #303 is merged.
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
Description
The syntax of some parts of php code is not highlighted correctly, specifically it highlights the html code contained in the string and not the string itself
Steps to Reproduce
sorry if the code is not displayed correctly, I also upload it as an attached file along with the screenshot
Expected behavior:
the color of the fifth line should be green because it's part of a string
Actual behavior:
the string in the fifth line highlight the html code contained in the string
Reproduces how often:
I tried several times and it happened 100% of the time
Versions
Atom : 1.38.1
Electron: 2.0.18
Chrome : 61.0.3163.100
Node : 8.9.3
Additional Information
test.zip
The text was updated successfully, but these errors were encountered: