It seems that the current Pug syntax highlighter has trouble with PHP tags. It is probably not setup to identify PHP's opening - <?php - and closing - ?> tags, so it it seems to think that the closing > is mismatched. This is what we see in Sublime Text 3 (Build 3126):
The issue also happens if we use PHP short tags syntax - i.e., <? and <?= opening tags.
This does not seem to happen inside interpolated tags - i.e., in the example below, the highlighter just parses everything as plain text:
It seems that the current Pug syntax highlighter has trouble with PHP tags. It is probably not setup to identify PHP's opening -
<?php
- and closing -?>
tags, so it it seems to think that the closing>
is mismatched. This is what we see in Sublime Text 3 (Build 3126):The issue also happens if we use PHP short tags syntax - i.e.,
<?
and<?=
opening tags.This does not seem to happen inside interpolated tags - i.e., in the example below, the highlighter just parses everything as plain text: