Search code examples
htmlvisual-studio-2010visual-web-developer-2010

How do I stop Visual web developer from copying the attributes of a div to its closing tag?


When I

Right click -> Surround with -> html -> div

Everything I type after the word div gets copied by VWD to its closing tag. How do I stop it? (And why is it doing that?)


Solution

  • OK. Known bug:

    http://connect.microsoft.com/VisualStudio/feedback/details/582524/asp-net-surround-with-problem-in-html-source-code

    But can use divc instead.