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

Highlighting issue with PHP when code contains xml snippet #1582

Closed
nterray opened this issue Oct 15, 2018 · 4 comments · Fixed by #1652
Closed

Highlighting issue with PHP when code contains xml snippet #1582

nterray opened this issue Oct 15, 2018 · 4 comments · Fixed by #1652

Comments

@nterray
Copy link

nterray commented Oct 15, 2018

Hello,

With the following code:

<?php

  echo '<?xml version="1.0" encoding="UTF-8"?><tracker />';
  echo PHP_EOL;

PrismJS does not syntax highlight the second statement (and the following ones, if any).

Tested on PrismJS 1.15.0

Best regards,
Nicolas

@mAAdhaTTah
Copy link
Member

"Second statement" in the above example is the echo PHP_EOL; line?

@nterray
Copy link
Author

nterray commented Oct 15, 2018

Yes

@nterray
Copy link
Author

nterray commented Mar 4, 2019

Thanks for the fix!

Do you have any approximation date when it will be released?

@RunDevelopment
Copy link
Member

You can create your own bundle on the download page to get it right now.

We don't have a date for the new release yet (#1713).

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

Successfully merging a pull request may close this issue.

3 participants