Sublime Forum

The code is showing commented in HTML syntax - v2.0.2

#1

Hi, I have found an issue which i think, should be informed. The code is something like below. Though commenting style in below code seems different, I think this code should not display the JavaScript part as commented code. It is creating confusion like the code is commented and have no effect in page which is actually not. Please suggest if there is any misunderstanding on this.

<!-- Some comments -->
<!--------------------------------------------------
Some comments
--------------------------------------------------->
<script type="text/javascript">
       var somecodes = 'plz resolve this commented issue';
       alert(somecodes);
</script>
<!--  Some comments -->

Thanks.

0 Likes

#2

Have you tried ST3 to see if it is resolved there? ST2 isn’t being maintained any more.

0 Likes