Reply to post:

"pre" tag not working as expected

Marco Fontani

Forums has always had automatic paragraphs for HTML comments, and when we started allowing HTML in comments we wanted to preserve that behaviour despite it maybe not doing the "right thing" in some contexts; this is one of them; a blockquote with multiple paragraphs is another.

In fact, a simple pre tag with two lines inside it looks "weird enough". Thanks for the test case. I'll look into whether and how to disable auto-paragraphs inside the pre block, as that should likely do the trick.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2022