Merge pull request #1013 from adamjimenez/patch-12

support php short tags <?
This commit is contained in:
Harutyun Amirjanyan 2012-10-06 06:06:40 -07:00
commit b7aac28e3a

View file

@ -1045,7 +1045,7 @@ var PhpHighlightRules = function() {
for (var i in this.$rules) {
this.$rules[i].unshift({
token : "support.php_tag", // php open tag
regex : "<\\?(?:php|\\=)",
regex : "<\\?(?:php|\\=)?",
next : "php-start"
});
}