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

Syntax highlighting for PHP in HTML strings sometimes breaks #1773

Closed
cyberbit opened this Issue Jun 30, 2016 · 4 comments

Comments

Projects
None yet
4 participants
@cyberbit

cyberbit commented Jun 30, 2016

Short Summary

One specific case of valid PHP inside of a quoted HTML string is not recognized by Komodo as PHP, but is instead assumed to be part of the HTML. See attached image.

Platform Information

Komodo Edit or IDE? Edit
Komodo Version? 10.0.1
Operating System (and version)? Windows 7

Additional Information

image

@Defman21

This comment has been minimized.

Contributor

Defman21 commented Jun 30, 2016

<? echo "hello" ?>
<?echo "hello"?>
<?= "hello" ?>
<?="hello"?>
<label href="<? echo "$server/$link" ?>"></label>
<label href="<? echo "$server/$link"?>"></label>

Not able to reproduce with this code. You forgot to close first <label tag.

@mitchell-as mitchell-as added this to the 10.1 milestone Jun 30, 2016

@mitchell-as mitchell-as self-assigned this Jun 30, 2016

@mitchell-as

This comment has been minimized.

Member

mitchell-as commented Jun 30, 2016

Thanks, I was able to reproduce the problem with that last line.

@Defman21

This comment has been minimized.

Contributor

Defman21 commented Jun 30, 2016

Ahh yeah, <?echo seems to break something.

@cyberbit

This comment has been minimized.

cyberbit commented Jun 30, 2016

@Defman21 You're right! Updated the image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment