HTML tags are displayed instead of parsed

Found a bug? Tell us!!
Post Reply
Holden
Posts: 3
Joined: Sun Dec 24, 2006 8:40 pm
Contact:

HTML tags are displayed instead of parsed

Post by Holden »

I just installed Serendipity 1.1-beta6. I am totally new to Serendipity, but searched the FAQ and Bugs forum before posting this problem.

HTML tags show up in the literal post on the front page--including things like "<br/>". I turned NL2BR off, but that resulted in an inability to create whitespace--the most I can get is a single new line (no nice double newlines that make the blog easier to read).

I have tried this with the WYSIWYG editor on and off. On, it creates all these <p> tags that are displayed literally (but no actual line breaks). Off, I just don't get the line breaks, even if I insert <p> tags.

I am using IE6. At this point my only active event plugins are Browser Compatibility, Spam Protector, and Markup:Wiki. The Wiki markup works, btw--my Wiki-style URL links are fine, but I still can't generate double-newlines, and all HTML tags including <p> and <br> are showing up literally.

Please help. Thanks.
Holden
Posts: 3
Joined: Sun Dec 24, 2006 8:40 pm
Contact:

Not a problem in 1.0.4

Post by Holden »

I replaced my beta release with 1.0.4 and am no longer having a problem (and I understand the problem better now). I guess HTML tags aren't supposed to be parsed, they're just not supposed to be there. 1.0.4 is correctly displaying newlines.

So to clarify the beta problem, NL2BR was putting "<br />" tags where my newlines went; the WYSIWYG editor was putting HTML all over the place that wasn't getting parsed; and I couldn't get the editor to put a double newline.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Not a problem in 1.0.4

Post by garvinhicking »

Hi!

I believe the Wiki-Markup Plugin can cause your described behaviour. You need to configure that plugin to allow HTML markup.

Usually if you use Wiki-Markup, HTML markup is not wanted...

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Holden
Posts: 3
Joined: Sun Dec 24, 2006 8:40 pm
Contact:

Post by Holden »

Right, HTML markup is not wanted in this case--but I want to be able to make double newlines, and I can't find a way to do that. Also, I don't want the WYSIWYG editor inserting HTML tags everywhere, when HTML markup isn't honored.

Again, this is only a problem with the beta release--1.0.4 works perfectly (there are no HTML tags inserted by the editor or by NL2BR, and I can get my double newlines).
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

I believe the Wiki-Markup plugin has an option to treat newlines as HTML breaks, did you check that?

Using the WYSIWYG editor is not recommended when using Wiki-Markup, because in that case a WYSIWYG editor makes no sense - it can only emit HTML, not Wikimarkup...

Can you check if it works in your beta-release if you use the wikimarkup plugin from the 1.0.4 release?

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply