|
From: Chris P. <li...@fo...> - 2006-11-29 21:26:46
|
no time to fix this at the moment, but may submit a patch if someone
else doesn't beat me to it..
in pre8 php mode, the heredoc patch looks only for an occurrence of the
heredoc marker, without checking to see if there is a preceding newline.
Such that something like the following attempt to print out some
javascript will fail:
echo <<<EOF
if (typeof foo !=3D 'undefined')
EOF;
The "eof" in "typeof" triggers the end of the syntax highlighting block,
rather than \nEOF\b, which should probably be the proper cutoff point.
-Chris
|