I was having an annoying problem using both the livejournal update plugin and the nl2br plugin. livejournal automatically converts new lines to breaks so my entries which looked like:
text here
next text here
on my s9y blog were looking like:
text here
next text here
and the extra space was annoying the hell out of me.
I don't know if anybody else was having this problem with their live journal updates using this plugin combo but i fixed it by adding this line
$event = "<lj-raw>" . $event . "</lj-raw>";
in serendipity_event_ljupdate.php at this spot
//Make LJ Entries not doublespaced
$event = str_replace("\n", "", $event);
$event = "<lj-raw>" . $event . "</lj-raw>";
hope this helps somebody.
Livejournal update plugin
-
Ripper^^
- Regular
- Posts: 50
- Joined: Mon Aug 15, 2005 7:49 am
- Location: Gainesville, Florida, USA
- Contact:
Livejournal update plugin
Ripper^^
Administrator, TheRipper.com
Administrator, TheRipper.com
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
-
Ripper^^
- Regular
- Posts: 50
- Joined: Mon Aug 15, 2005 7:49 am
- Location: Gainesville, Florida, USA
- Contact:
Thanks!
This forum has helped me out a number of times in sorting out problems I've had with my site and I just wanted to try and help out in return.
This forum has helped me out a number of times in sorting out problems I've had with my site and I just wanted to try and help out in return.
Ripper^^
Administrator, TheRipper.com
Administrator, TheRipper.com