• I’ve spent days searching for a solution to this – to no avail.

    I’ve tried <b>, <br /> , and <p>; tags, but they all get stripped out. Headings <h1>, <h2>, etc. all end up jammed up against the previous paragraph which looks dreadful.

    I know this has come up time and time again, but I can’t find a solution. Has anyone found a solution to this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Chaz

    (@eternalskychaz)

    If you read the Help section where you create posts and pages, they will tell you that you need to do all that in CSS. But there’s really no way to get CSS to put in line breaks wherever you want them.

    This may be a hopeless cause as the designers of WP are so bent on making WP work like some kind of magical CSS dance that they have taken all the flexibility out of their software.

    However, since it is the tinyMCE rich text editor that strips out those HTML tags, you may be able to find a way to alter that code to stop taking out line breaks.

    Insert this where you want a line break:

    <div><br class=”webkit-block-placeholder” /></div><div>

    Works for me. It is not perfect as the space it creates is a little bigger than a normal one. But it is good enough.

    Chaz

    (@eternalskychaz)

    Thanks for the code, but that is hardly the proper solution. Really, the best solution is for WP to stop attempting to force users to do things their way. Every web browser available will automatically parse html code of any variety. WP does not need to do it as well.

    Go back to pre v2.0 and keep things, lite, fast and simple.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘That Line Breaks issue again’ is closed to new replies.