We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A php string (inside a php tag) inside of an html element's attribute breaks the syntax highlighting. The highlighting after the PHP tag is messed up.
Yes, in some cases you can solve this by alternating quotes. but sometimes you won't want to, for example here:
<span data-json='{"name":"<?php echo $names['loremIpsum']; ?>"}' data-other-attribute="empty"></span>
To workaround, the static json part could be echoed with php too, but that's a style question.
This occurs to me in the latest Build of Brackets (it's webkit based, if I'm not mistaken) and also on http://codemirror.net/mode/php/index.html (with Firefox)
The text was updated successfully, but these errors were encountered:
ef8042e
[php mode] Make double-quoted string hack also work for single-quoted
96d8fdd
Closes codemirror#1992
No branches or pull requests
A php string (inside a php tag) inside of an html element's attribute breaks the syntax highlighting. The highlighting after the PHP tag is messed up.
Yes, in some cases you can solve this by alternating quotes. but sometimes you won't want to, for example here:
To workaround, the static json part could be echoed with php too, but that's a style question.
This occurs to me in the latest Build of Brackets (it's webkit based, if I'm not mistaken) and also on http://codemirror.net/mode/php/index.html (with Firefox)
The text was updated successfully, but these errors were encountered: