title: Wordpress extra spaces breaks layout
body: <p>I am creating and developing a custom Wordpress theme and I am struggling with one issue, which is making me crazy and I can't find any fix and can't figure out, what I am doing wrong...</p>
  
  <p>There is some extra spaces added in output which breaks the layout and creates empty space</p>
  
  <p>here is my source code (index.php):</p>
  
  <pre><code>&lt;div class="c6"&gt;
      &lt;h4&gt;news&lt;/h4&gt;
      &lt;?php query_posts('showposts=3'); ?&gt;
      &lt;?php if (have_posts()) : while(have_posts()) : the_post(); ?&gt;
          &lt;?php get_template_part('content', get_post_format()); ?&gt;
      &lt;?php endwhile; else : ?&gt;
  
          &lt;p&gt;&lt;?php _e('No posts were found!', 'unqvsn-framework'); ?&gt;&lt;/p&gt;
  
      &lt;?php endif ?&gt;
  
      &lt;p class="articles-nav-prev"&gt;&lt;?php next_posts_link(__('&amp;raquo; Older Posts', 'unqvsn-framework')); ?&gt;&lt;/p&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>and here is also code for the left column sidebar, where it is happening too (as well as for each sidebar I create):</p>
  
  <pre><code>&lt;h4&gt;Line up&lt;/h4&gt;
  &lt;div class="sidebar"&gt;&lt;?php get_sidebar('lineup-sidebar'); ?&gt;&lt;/div&gt;
  </code></pre>
  
  <p>and here is the output with inspected code in the browser (Chrome, the same happens in Firefox):</p>
  
  <p><a href="http://imageshack.us/a/img13/1392/screenissued.png" rel="nofollow">Screenshot</a></p>
  
  <p>Any ideas?</p>
  
  <p>Thanks</p>