PHP adding empty text node before including html file
<p>I'm using php as templating engine, and I've noticed that when I include view file, empty text node is added before content of that view.</p>

<p>For example, I have html file I want to include that has following content:</p>

<pre><code>&lt;p&gt;Some text&lt;/p&gt;
</code></pre>

<p>than I include that file like this:</p>

<pre><code>&lt;div&gt;&lt;?php require_once('file/path.htm'); ?&gt;&lt;/div&gt;
</code></pre>

<p>(notice that I've removed any spaces between div and php) And after php includes file he adds empty text node (which I'll mark like this "") that adds space before p tag, so I get something like this:</p>

<pre><code>Some previous content...
&lt;div&gt;    
"" //empty text node
&lt;p&gt;Some text&lt;/p&gt;
&lt;/div&gt;
</code></pre>

<p>This is quite problematic since it ruins content composition. Is there any solution to this?</p>
