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.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
If an HTML code similar to style="background-image:url(<?= $image_url ?>)" is added to a .php file, Atom fails to recognize PHP tags if any character is entered after url(. See picture below:
After inspecting the elements with Developer Tools, it looks like it isn't theme-related. The example below shows when it works, with a code like url(<?= $image_url ?>). The tag is recognized and encapsulted inside a syntax--php element.
However, when a character is added after the bracket, such as url(/img/<?= $image_url ?>.jpg), the tag is no longer recognized and sits inside a syntax-css element.
Version 1.53.0 x64
Electron 6.1.12
Chrome 76.0.3809.146
Node v12.4.0
Theme One Dark
If an HTML code similar to
style="background-image:url(<?= $image_url ?>)"is added to a .php file, Atom fails to recognize PHP tags if any character is entered afterurl(. See picture below:After inspecting the elements with Developer Tools, it looks like it isn't theme-related. The example below shows when it works, with a code like
url(<?= $image_url ?>). The tag is recognized and encapsulted inside asyntax--phpelement.However, when a character is added after the bracket, such as
url(/img/<?= $image_url ?>.jpg), the tag is no longer recognized and sits inside asyntax-csselement.Version 1.53.0 x64
Electron 6.1.12
Chrome 76.0.3809.146
Node v12.4.0
Theme One Dark