By bm123 on
Is there anything I can do or module that will save the line breaks in a post. I want to have the formatting saved if someone posts a paragraph and then breaks a new line for a new paragraph. I understand they can do this with the bold tag, but I would like for it to be done with out having to add the tag. Anyone have any thoughts on this?
Comments
I'm not entirely sure what
I'm not entirely sure what you mean. If you have your input filters set up correctly, then line breaks and paragraph breaks should be formatted automatically, ie just pressing 'Enter'/'Return' on your keyboard one or two times will do the trick. The bold tag just makes text bold, like that.
=======
Discover new modules, effectively search help and support with Heebie Drupal UberSearch. A must for any Drupal user - we promise you'll love it!
Sorry I meant the break tag
Sorry I meant the break tag not the bold tag. Maybe my input filters are set up wrong. Only the admin as the ability to select the input in the drop down tag that has. HTML, PHP, formatting etc on this site. It is saving the line breaks but it is not saving the spaces between paragraphs (double line break) it is just putting them on the next line. Is there anyway to set this up so it will save double line breaks instead of using the break tag twice?
Example..
test
test
test
I have put double line break on all of these, on my site they just fall one right after the other with no space. It is not formatting them correctly when users post content.
So you put exactly the same
So you put exactly the same in drupal.org and your site and your site formats it differently? If you have left input filters as they are, then the only thing I can suggest is CSS. What theme are you using?
Discover new modules, effectively search help and support with Heebie Drupal UberSearch. A must for any Drupal user - we promise you'll love it!
yes exactly
When I put
test
test
test
on my site it looks like this when the content is submitted..
test
test
test
no line breaking at all.
I tried changing it to "Full HTML" and no go still doesn't format it correctly when a user posts content. I am using a custom theme that I have build. Is there some way that I can go into the CSS file and change the formatting that way?
To try and diagnose the
To try and diagnose the problem, see if the same thing happens with the default Drupal theme. If not, then it looks like a theming problem.
Discover new modules, effectively search help and support with Heebie Drupal UberSearch. A must for any Drupal user - we promise you'll love it!
it's a theme problem
Thanks for your help, I tried the default Garland theme and the formatting worked fine. I noticed in my custom theme the different tags you can use like '
<strong>' is not working either. Does anyone know what I can do in my theme to fix this theme issue? What might be causing this too happen?Anyone have any advice on
Anyone have any advice on this? Thanks.
There's probably a CSS
There's probably a CSS declaration that deals with that kind of thing. I know nothing about CSS, so unfortunately my help ends here. Try seeing what another theme like Garland does, or base your theme from that.
Discover new modules, effectively search help and support with Heebie Drupal UberSearch. A must for any Drupal user - we promise you'll love it!
help?
Hi
Sorry I don' mean to keep bumping this. I have been trying to find the problem with this for a few weeks now with no luck :(
Does anyone know what could be causing this issue. I looked at the source code and it is not putting any tags like '
' and '
' around the content when the post is made.
Can anyone help out?
Thanks