Welcome Guest, Not a member yet? Register   Sign In
auto_typography class error?
#1

[eluser]epseix[/eluser]
Slightly confused as having read up on this class/library - it's exactly what I need to format large text pulled from my database - however, the line breaks do no generate the desired results when the text is pulled from a variable.

Code:
$variable = "This is a \n paragraph";
auto_typography($variable);

HTML source code:

Code:
<p>This is a \n paragraph</p>

Am I missing something?


Messages In This Thread
auto_typography class error? - by El Forum - 07-29-2013, 06:34 AM
auto_typography class error? - by El Forum - 07-29-2013, 03:30 PM
auto_typography class error? - by El Forum - 07-29-2013, 04:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB