• Hi Jamel. When I add a keyword, sometimes I want to have the description composed of multiple paragraphs. And in the editor, I can see those paragraphs with line breaks. But when I display the final published keyword page, the line breaks are all gone and all the paragraphs run together into one large description.

    For example, on the page link I reference below, there should be three independent paragraphs, but the display page only contains one combined large paragraph. The words in red should be in their own unique paragraph. The only way to make these paragraphs appear as paragraphs is to hardcode <br> in the text editor.

    Is this combined paragraph how the code is intended to display the page?

    • This topic was modified 4 years, 1 month ago by axwellion.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jamel.Z

    (@lebleut)

    Hi @axwellion

    Yes you are right because WordPress removes automatically line breaks in this case

    You need to try <p> paragraph tag and see ??

    Thread Starter axwellion

    (@axwellion)

    Hi Jamel. I presume you mean manually inserting <p> </P> around the paragraph in the text editor. Based on your suggestion I did that and it works, thank you.

    But I wonder why I only have to add <p> </p> in the text editor on keyword pages. I never have to do that on any other page or post. On any other page or post, when I make a blank line in the visual editor, it shows as a blank line in the final displayed user page. Could it be some incompatibility between the keyword editor and the Gutenburg block editor? I do see that the keyword editor looks like the old-style pre-Gutenburg interface.

    Thanks for your help.

    Matt

    Plugin Author Jamel.Z

    (@lebleut)

    @axwellion you don’t need to add the <p></p> tags manually, in fact when you you press Enter in the WYSIWYG editor the tag will be added automatically unless you have some code (in theme or plugin) that prevents that, not sure

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CR/LF doesn’t seem to work’ is closed to new replies.