Html surround comments
Closed this issue · 3 comments
CristhianMotoche commented
For almost all the comments the application only adds comments at the beggining. This is a problem in Html tags, because it only adds a comment at the beggining of the line.
You can see an example here:
<!-- <div> Apply comment only in this line
This line is not affected, but is inside the tag.
</div>
manasthakur commented
Right. I am aware of this.
Basically, I am trimming the commentstring
to just get the LHS. I will see if I can get the RHS as well in a simplistic manner, over the weekend.
Keep watching :)
manasthakur commented
Out of interest, I have solved your issue today itself.
Thanks for bringing it up.
p.s. As mentioned in the doc, putting the end marker after multiple lines won't be supported. Thus, for the code example given by you, the commented result should look like the following:
<!-- <div> Apply comment only in this line-->
<!-- This line is not affected, but is inside the tag.-->
<!-- </div>-->
Uncomment also works as before.
CristhianMotoche commented
Cool. Thanks @manasthakur