Syntax Highlight not working on textarea tags with PHP


The image show that a textarea tag with the default message being a <?php ?> tag doesn’t get highlighted.
Notice that if a space is put between the ‘>’ and ‘<’ the highlight works, but you get two extra spaces in your textarea (which is not a valid solution).

I suppose that the problem is the question mark on the php tag, but I can’t guarantee it.

The line 14 and 16 show the expected behavior, but line 15 shows everything white/gray. Even the closing textarea tag.


This is a known issue. Please subscribe for updates here:


Indeed it is. I wasn’t able to find it here on discuss (so I think it is good to leave this post here as a link to the issue), but it has already been reported. Thanks!