Sublime Forum

Color Issues (php+js)

#1

From the latest update there is a problem, the following code is not colored correctly, the first line is the problem

`<?php if (1) { // try to remove this line ?>
<****script>
$(function() {
$(’#…’).click(function() {
$.ajax({
type: ‘POST’,
url: ‘page.php’,
cache : false,
data: {
securekey : ‘<?=$md5key?>’,
test: 123
}
})
// …
});
});

<?php } ?>`
0 Likes

#2

duplicate of Syntax highlighting deranged for JavaScript when using PHP inside JavaScript

0 Likes