This question is locked. New answers and comments are not allowed.
If I go to wrap something in HTML comment tags, adding the open tag (<!--) works fine, but when I go to add the close tag (-->), it adds what it thinks is a proper HTML close tag. For example, let's say I have this HTML that I want to comment out:
<a id="test">test</a>
I add the open comment tag (works fine):
<!--<a id="test">test</a>
Now I add the close comment tag:
<!--<a id="test">test</a>--></span>
Notice the weird </span> tag thrown in? Even worse, if you do an undo, it removes BOTH the correct ">" as well as the "</span>" (VS only removes the auto-text on the first undo - you have to undo again to remove the text you actually typed). That means you have to manually delete it each time.
Feedback Link: https://feedback.telerik.com/Project/87/Feedback/Details/1109-unhelpful-auto-text-when-adding-html-comments
<a id="test">test</a>
I add the open comment tag (works fine):
<!--<a id="test">test</a>
Now I add the close comment tag:
<!--<a id="test">test</a>--></span>
Notice the weird </span> tag thrown in? Even worse, if you do an undo, it removes BOTH the correct ">" as well as the "</span>" (VS only removes the auto-text on the first undo - you have to undo again to remove the text you actually typed). That means you have to manually delete it each time.
Feedback Link: https://feedback.telerik.com/Project/87/Feedback/Details/1109-unhelpful-auto-text-when-adding-html-comments