php include unterminated string literal message
<p>The following works just fine:</p>

<pre><code>var sFirstText=&lt;?php include("first2.html"); ?&gt;;
</code></pre>

<p>when first2.html looks like this INCLUDING the double quotes:</p>

<pre><code>"&lt;p&gt;sentence one&lt;/p&gt;&lt;p&gt;sentence two&lt;/p&gt;"
</code></pre>

<p>However, if first2.html looks like:</p>

<pre><code>"&lt;p&gt;sentence one&lt;/p&gt;
&lt;p&gt;sentence two&lt;/p&gt;"
</code></pre>

<p>I get an unterminated string literal message. I hope to figure out how I can include the html without first having to remove the carriage return/line feed sequences.</p>

<p>Also, if I remove the double quotes and do:</p>

<pre><code>var sFirstText="&lt;?php include("first2.html"); ?&gt;";
</code></pre>

<p>that won't work, returning a message I haven't yet been able to comprehend.</p>

<p>Basically I want to get simple html formatting into a field without having to remove the cr/lf sequences.</p>
