• 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.

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘default behaviors of paragraph elements not woking’ is closed to new replies.