<!-- Have you read Atom's Code of Conduct? By filing an Issue, you are expected to comply with it, including treating everyone with respect: https://github.com/atom/atom/blob/master/CODE_OF_CONDUCT.md Do you want to ask a question? Are you looking for support? The Atom message board is the best place for getting support: https://discuss.atom.io --> ### Prerequisites * [ X ] Put an X between the brackets on this line if you have done all of the following: * Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode * Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/ * Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq * Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom * Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages ### Description Can we ignore "?>" inside a heredoc? When trying to put xml in one, I lose syntax highlighting. ### Steps to Reproduce ```php <?php $xmlstr = <<<XML <?xml version="1.0" encoding="UTF-8"?> <element attribute="foobar" > </element> XML; echo "this line has no syntax highligting :("; ``` **Expected behavior:** the last line to have color **Actual behavior:** everything but the last line has color **Reproduces how often:** all the time ### Versions Atom : 1.15.0 Electron: 1.3.13 Chrome : 52.0.2743.82 Node : 6.5.0 Ubuntu GNOME 14.04.5 LTS 3.19.0-80-generic
Prerequisites
Description
Can we ignore "?>" inside a heredoc? When trying to put xml in one, I lose syntax highlighting.
Steps to Reproduce
Expected behavior:
the last line to have color
Actual behavior:
everything but the last line has color
Reproduces how often:
all the time
Versions
Atom : 1.15.0
Electron: 1.3.13
Chrome : 52.0.2743.82
Node : 6.5.0
Ubuntu GNOME 14.04.5 LTS
3.19.0-80-generic