Backslashes before php variables

214 Views Asked by At

When I try to add emmet comments in html codes that contain php code, slashes (\) are added before php vars.

For example I have this line:

<td class="item"><?php echo $var; ?></td>

If I try to comment it, it returns

<!-- <td class="item"><?php echo \$var; ?></td> -->

The \ before $var should not be generated. The same thing happens if I try to remove tags. Am I missing something here?

0

There are 0 best solutions below