All Entries & Comments are Displaying HTML Code

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
jjrose
Regular
Posts: 5
Joined: Sun Jan 07, 2007 2:16 am

All Entries & Comments are Displaying HTML Code

Post by jjrose »

Hello,

I have just installed Serendipity 1.1 and am in setting up and tweaking phase before all goes online.

I'm having difficulty at the moment getting entries and comments to display properly.

When I try to do anything other than plain text (eg. links), I get all the html code showing on the display. But even then, I get some code at the bottom ( </p> ). And on the sidebar Comments box, where there shows a comment to an entry, even though it's only plain text, at the end of each line I see an </br>.

So seems to me that both the actual entries and also the comments are showing in full html code instead of proper display. And this includes the comments in the Sidebar called "Comments".

I have already added a couple of static pages, but I don't have that problem on them, only on blog entries and comments.

I'm sure it's just some really simple thing I have overlooked, but can't find anything anywhere to help fix the problem.

Help would be appreciated.
gadgetgrill
Regular
Posts: 15
Joined: Wed Nov 15, 2006 12:02 am

Post by gadgetgrill »

hi,

I am having a similar problem; Images are not showing. Though HTML code instead the of the image is showing.

I uploaded the images using the built in tool so i know im doing everything correctly.

http://www.re-blog.co.uk/s9y/categories ... stop-Trial

GG
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

@gadgetgrill: Usually this indicates that you're working with the WYSIWYG editor, and you've typed the HTML in editing mode instead of tag mode. Sometimes it's because the wiki plugin is installed, and I suppose some other markup plugin might do the same. Try the plain-text editor, and if that doesn't work, tell us what markup plugins you're using.

@jjrose: That's very unusual. Can you give us a link to your page so we can have a look? If you're using the WYSIWYG editor, try turning off the nl2br plugin, too.
Judebert
---
Website | Wishlist | PayPal
jjrose
Regular
Posts: 5
Joined: Sun Jan 07, 2007 2:16 am

Post by jjrose »

@jjrose: That's very unusual. Can you give us a link to your page so we can have a look? If you're using the WYSIWYG editor, try turning off the nl2br plugin, too.[/quote]

Hi judebert. Thanks. I've fixed the issue. I followed your advice to gadgetgrill about the Wiki plugin and took it off, which fixed up the display of html in the entries. And it was the nl2br plugin that caused the html in the Comments sidebar.

I never really knew what the two markup plugins were actually for, I just added them to see what would happen.
Post Reply