[Resolved] Paragraph tags stripped from page when shortcode is added
Hi Johan, I’ve added a content block to one of my pages by putting the block’s shortcode onto the page. The page already has a couple of paragraphs of text at the top, and then the shortcode underneath. The content block itself contains several paragraphs of text.
For some reason, when the shortcode is added to the page, it results in the page’s own paragraphs of text being stripped of their <p> tags – ie. the text at the top of the page itself is no longer inserted into <p> tags, which means the paragraphs flow together as a single paragraph on the page.
Strangely, the content block’s own paragraphs of text do remain as proper paragraphs though. Only the text outside of the content block (ie. the text that was added directly to the page itself) is stripped of its <p> tags. I have no idea why.
Can you check this out for me? Maybe it’s a bug? I can share an example webpage with you if necessary (preferably offline as I don’t want to paste live URLs here).
- The topic ‘[Resolved] Paragraph tags stripped from page when shortcode is added’ is closed to new replies.