Line Breaks Ignored in WordPress Comments
-
New lines are being ignored when the comments are displayed on my blog. The first new line is displayed, but any subsequent new lines are ignored. For example if you wanted to add 1 blank line between paragraphs (as you normally would), you would publish your comment looking like this:
//begin example
HelloGoodbye
//end exampleHowever wordpress is displaying it like this:
//begin example
Hello
Goodbye
//end exampleWhen you view the comments through the admin panel, everything looks fine. I am having no problems with blog posts. I am only having problems with comments. Also, I can force a new line using the br html tag in the comments, but the users will not know this; nor should they have to. Why does wordpress remove new lines that have purposely been entered using the “enter” key?
I have looked at similar posts regarding this problem with no help.
Point me in the right direction please.
wordblogger
- The topic ‘Line Breaks Ignored in WordPress Comments’ is closed to new replies.