title: HTML formatting in Visual Studio 2010
body: <p>Whenever I reformat html source code in Visual Studio with Ctrl-K, Ctrl-D it formats my source code like this:</p>
  
  <pre><code>&lt;p&gt;
      text&lt;/p&gt;
  &lt;p&gt;
      more text&lt;/p&gt;
  </code></pre>
  
  <p>How can I make it use the following format instead?</p>
  
  <pre><code>&lt;p&gt;
      text
  &lt;/p&gt;
  &lt;p&gt;
      more text
  &lt;/p&gt;
  </code></pre>
  
  <p>I know that there are settings at Options-> Text Editor -> Html -> Formatting, but I could not find suitable there.</p>
  
  <p>Thanks,</p>
  
  <p>Adrian</p>
  
  <p><strong>Edit:</strong> I've checked the tag-specific settings, and page break for p tags is set to "Before opening, within, and after closing". Also, the little preview shows exactly the format I want to have. But Visual Studio still does it wrong. Could this have anything to do with Resharper being installed on my system?</p>