Forums

default behaviors of paragraph elements not woking (2 posts)

  1. kishor123
    Member
    Posted 3 years ago #

    Default behaviors of paragraph elements is if paragraph contains a lot of lines in the source code, but the browser ignores it.
    e.g <p>
    This paragraph
    contains a lot of lines
    in the source code,
    but the browser
    ignores it.
    </p>

    output : This paragraph contains a lot of lines in the source code, but the browser ignores it.

    But this default behaviors not works in wordpress .In wordpress it shows output like

    This paragraph
    contains a lot of lines
    in the source code,
    but the browser
    ignores it.

    I known wordpress default filter convert double line breaks into <p> tag. when I disable this filter then default behaviors of paragraph elements works fine.

    Can anyone more focus on it.If I'm right then wordpress tried to change default behaviors of paragraph elements.

  2. Dagon Design
    Member
    Posted 3 years ago #

    I find the best solution is to use the code editor, and insert all html (if you are using any) manually, instead of the new visual editor, which while making things easy, it makes it harder to format text just the way you want.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.