Serendipity Entry display
Posted: Mon Sep 15, 2008 3:12 pm
Hello,
I have a question about the way serendipity display's the entries.
I'm building a kind of newspaper thing that should read entries created with my serendipity CMS, but I have a problem with the HTML reading.
What I exactly want to know is, how does serendipity replaces "\n"'s from the database to <br />'s I searched the include files but can't find where this is done. I used some str_replace and preg_replace functions but they don't work the way serendipity do this. Can somebody say where serendipity does this or how (a peice of code).
Thanks.
Leon Meijer
I have a question about the way serendipity display's the entries.
I'm building a kind of newspaper thing that should read entries created with my serendipity CMS, but I have a problem with the HTML reading.
What I exactly want to know is, how does serendipity replaces "\n"'s from the database to <br />'s I searched the include files but can't find where this is done. I used some str_replace and preg_replace functions but they don't work the way serendipity do this. Can somebody say where serendipity does this or how (a peice of code).
Thanks.
Leon Meijer