Skip to content
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
Closed

Syntax highlighting for PHP in HTML strings sometimes breaks #1773

cyberbit opened this issue Jun 30, 2016 · 4 comments
Assignees
Milestone

Comments

@cyberbit
Copy link

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
Copy link
Contributor

<? 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
Copy link
Contributor

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

@Defman21
Copy link
Contributor

Ahh yeah, <?echo seems to break something.

@cyberbit
Copy link
Author

@Defman21 You're right! Updated the image.

@tonyattwood
Copy link

Hello!

I've found a lot of interesting stuff that you might like, just take a look http://buy.svspg.com/e4mviemx

Kind regards, tony.attwood

@tonyattwood
Copy link

Hello friend,

Have you seen this? You've got to take a look, that's really cool, read more here http://enjoy.kudoscommunication.com/e4fqideq

Yours truly, tony.attwood

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

No branches or pull requests

5 participants