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
The text was updated successfully, but these errors were encountered:
michaelblyons
changed the title
PHP block comments are not working as expected if they are placed inside a <script> tag
[PHP] block comments are not working as expected if they are placed inside a <script> tag
Jul 21, 2023
PHP Source.sublime-syntax is mainly designed to switch between html<->php.
Not sure what a solution would look like without risk of hitting 25k context sanity limit and keep already significant complexity in sane limits.
It's hard to mix 2 context sensitive syntaxes such as PHP and JavaScript without bloating resource usage and complexity.
Not sure whether its worth for such a tiny edge case. There are likely more when using PHP within JS/CSS. Those are designed to take simple php expressions only.
What happened?
After applying the patch from this GitHub repository: https://github.com/jfcherng-sublime/ST-my-settings/blob/master/scripts/update_official_packages.sh, the overall functionality seems to be working fine.
However, there is an issue with the PHP block comment inside the script tag, which is not functioning correctly.
followed by #3811
The text was updated successfully, but these errors were encountered: