Commenting a line without selecting is broken

Satyajit Ranjeev 8 years ago 0

Lets say I have a line: 
    <li><a href="news.html"> News</a></li>
assume the cursor is where the | is, when I press Command / this is the output:
    <li><a href="news.html"><!--  -->News</a></li>
The output should have been:
    <!-- <li><a href="news.html">News</a></li> -->
This seems to be broken in html, css and js files, but works with python.