![]() |
Double line breaks
Whenever a commenter pushes enter in their comment it shows up as two <br> which is this really huge space. I would like the space to be smaller and only show up as one <br> in the comment section. Does anyone have this problem. is this a problem with the code or my css?
This is my url http://www.informedrevolution.com/th...p?showimage=10 An example of the huge break is alex's comment. Help me! |
Hi!
I'm having the same problem. using version 1.5 it adds two line breaks everytime a commenter hits ENTER. I checked the index page but cannot find what I should change. thanks for any help! Indira |
Finally i was able to fix it!
What i did is to change 2 lines of the index.php: Code:
// $message $message = clean(nl2br($_POST['message']));Code:
// $message I don't know why. I found it trying (i'm not an expert)... but i think it's working. I'm using it at the moment and i haven't had any problem. Luck!! |
About which versions of PP did you all talk??
|
Double Line breaks
Just to let you know that this solution has now worked for me.
PP 1.5 |
Works
Just solved mine too. Thanks for sharing!
|
Thanks! You can all just do this, it really works! Even if you type six enters in a row, there's just one white line!
|
This didn't work for me. I'm running PP 1.5. Any other suggestions?
EDIT: Never mind. I think it's working now. It just wasn't correcting old comments, but it seems to work on new ones. |
Clear the cache?? I think all comments should format the same after this change.
Just a guess. |
Anyone knows how to fix it for 1.6 version?
I tryed to do the same as i did with the other versions but seems it doesn't work... I have done that: /includes/functions_comments.php (line 74) Code:
// $message |
| All times are GMT. The time now is 09:09 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.