Hallo,
ich möchte <br> durch <p> bzw. </p> ersetzen und habe hier ein Problem.
ich nutze folgenden code:
funktioniert auch gut.
jetzt habe ich aber tags eingefügt und das macht die sache komplizierter.
soll zu
werden.
hat hier jemand eine idee oder was fertiges?
danke
ich möchte <br> durch <p> bzw. </p> ersetzen und habe hier ein Problem.
ich nutze folgenden code:
PHP-Code:
$text = '<p>' . str_replace("<br />", "</p><p>", $text) . '</p>';
jetzt habe ich aber tags eingefügt und das macht die sache komplizierter.
Code:
<a href="#c_355">@meks</a> <blockquote>Aero rims seem kind of wasted with that upright posture.</blockquote> <p>Those deep section mbproof!</p> <p>@veerle, is threally nice.</p>
Code:
<p><a href="#c_355">@meks</a> </p> <blockquote><p>Aero rims seem kind of wasted with that upright posture.</p></blockquote> <p>Those deep section rimbombproof!</p> <p>@veerle, is thelax bike are really nice.</p>
hat hier jemand eine idee oder was fertiges?
danke
Kommentar