cut html content and keep the format?
<pre><code>$str = "&lt;div&gt;blahblahblah&lt;b&gt;foofoo&lt;/b&gt;&lt;i&gt;barbar&lt;/i&gt;&lt;/div&gt;";
</code></pre>

<p>I separate two part </p>

<pre><code>1-presentation_text
2-full content when click on read more.

  $presentation  = substr($str,0,23);
 &lt;div&gt;blahblahblah&lt;b&gt;foo
  $detail = substr($str,23); 
  foo&lt;/b&gt;&lt;i&gt;barbar&lt;/i&gt;&lt;/div&gt;
</code></pre>

<p>How Can I keep  the format when it display in presentation block and detail block?
I mean </p>

<p>in presentation block should be:</p>

<p>blahblahblah<b>foo</b>  /* foo have bold here*/</p>

<p><br>
<br>
in detail block<br><br></p>

<p><b>foo</b><i>barbar</i> /* foo have bold too*/</p>
