• cozbaldwin

    (@cozbaldwin)


    So, in the HTML view, if I have a blank line, it automatically translates that into a new paragraph. I was wondering if there’s a plugin or setting adjustment that can force WordPress to ignore that whitespace and keep it in the same paragraph? Basically just act like a true HTML editor.

    Example:

    <span style="font-size: small;"> CONTENT LINE 1</span>
    <span style="font-size: small;"> CONTENT LINE 2</span>
    
    <span style="font-size: small;"> CONTENT LINE 3</span>

    Would print as:

    CONTENT LINE 1
    CONTENT LINE 2
    CONTENT LINE 3

    …even though there was a blank line in the HTML.

Viewing 6 replies - 1 through 6 (of 6 total)
  • yoonmi

    (@yoonmi)

    Anyone have an solution for this?

    Thread Starter cozbaldwin

    (@cozbaldwin)

    I don’t think I ever found the solution for it.
    Just a pain in the butt to delete any blank lines that end up in there.

    yoonmi

    (@yoonmi)

    ugh really, do you know if it reads the comment tags as well as spacing?

    – Thanks man –

    Thread Starter cozbaldwin

    (@cozbaldwin)

    I dont know what you mean… could you clarify?

    yoonmi

    (@yoonmi)

    <a class="report" href="#"><!-- Statistic Icon (edit to change icon) --><span class="report-icon ic ic-building"></span>
    can I leave my comment tag in between or do I need to get rid of that too?

    yoonmi

    (@yoonmi)

    *resolved*
    decided just to be safe to take the comments out too…worked great!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Ignore Blank Lines In HTML View’ is closed to new replies.