Forum Moderators: open

Message Too Old, No Replies

Making newline-s into br-s

complete change of database

         

punisa

9:50 pm on Apr 6, 2009 (gmt 0)

10+ Year Member



Because of change we made to our cms, I have recently swapped all "\n" into "<br/>" in our article databse.
Now they are outputted without nl2br php function.

As you guess, now the whole article is one single line in source view.
That's ok, as long as the output is as needed.

I was just wondering, does this have any impact on search engines?
I'm 99% sure it does not, but I'm still wondering

coopster

6:30 pm on Apr 7, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Not that I am aware. It will look funny if you ever print the article to anything but a browser though, unless you revert all those <br /> elements to newlines once again. I ran into this once when developing a PDF delivery system for stored articles. Exact same situation you just put yourself in!