title: Wordpress changed a code introduced in the page editor
body: <p>I copied the code below into the editor</p>
  
  <pre><code>&lt;div class="services_container clearfix"&gt;
  &lt;a href="it" class="service service-it"&gt;
  &lt;div class="service_ttl"&gt;
  IT support
  &lt;/div&gt;
  &lt;span&gt;More&lt;/span&gt;
  &lt;/a&gt;
  &lt;a href="legal" class="service service-legal"&gt;
  &lt;div class="service_ttl"&gt;
  Legal support
  &lt;/div&gt;
  &lt;span&gt;More&lt;/span&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>But if I look in firebug, the code output looks like this</p>
  
  <pre><code>&lt;div class="services_container clearfix"&gt;
  &lt;a class="service service-it" href="it/index.php"&gt;
  &lt;p&gt;&lt;/p&gt;
  &lt;div class="service_ttl"&gt;IT support&lt;/div&gt;
  &lt;/a&gt;
  &lt;p&gt;
  &lt;a class="service service-it" href="it/index.php"&gt;
  &lt;span&gt;More&lt;/span&gt;
  &lt;br&gt;
  &lt;/a&gt;
  &lt;br&gt;
  &lt;a class="service service-legal" href="legal/index.php"&gt;&lt;/a&gt;
  &lt;/p&gt;
  &lt;a class="service service-legal" href="legal/index.php"&gt;
  &lt;div class="service_ttl"&gt;Legal support&lt;/div&gt;
  &lt;/a&gt;
  &lt;p&gt;
  &lt;a class="service service-legal" href="legal/index.php"&gt;
  &lt;span&gt;More&lt;/span&gt;
  </code></pre>
  
  <p>That is tags  is repeated two or three times and this breaks the page design.</p>
  
  <p>Obviously I need in the writing settings disable option "WordPress should correct invalidly nested XHTML automatically".
  But I don't have this option in the writing settings.<br>
  I have found and commented out all calls of <code>force_balance_tags</code> function.
  Then I have deleted and recreated page, but it not helped.</p>
  
  <p>I use Worpress 4.7.</p>