• Resolved chaug

    (@chaug)


    My List content field looks like this:

    <p><h2><a href="[post_permalink]">[post_title]</a></h2></p>
    <p>[post_content]</p>
    <p></p>

    My problem is that [post_content] does not seem to preserver paragraphs. All content is displayed in a single paragraph. Other formatting is preserved.

    How can I preserve the paragraphs too?

    Thank you in advance.

    Christoph

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter chaug

    (@chaug)

    I just realized that at least some of the posts concerned don’t actually use any <p> but <span>. Is there something we can do to preserve this?

    Plugin Author EkoJR

    (@ekojr)

    After debugging, I found that the HTML tags are being preserver except for the one with the Header tag. HTML naturally doesn’t allow headers to be inside the paragraph tag.

    The List Content should look something like this…

    <h2><a href="[post_permalink]">[post_title]</a></h2>
    <p>[post_content]</p>
    <p></p>

    Running off a localhost, and in my own environment, I may not be able to reproduce the results that you are experiencing. It could be other factors that are coming into play too. It could be a Plugin or the Theme itself.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘How to preserve paragraphs in post content’ is closed to new replies.