Shortcodes: block shortcodes have extra `</p>` and `<p>`
-
I’ve been searching around and found loads of people having the same problem, but no definitive solution.
If I add my own shortcode, and use it as a block, like
[code]
Contents of code
[/code]
Then the output of that shortcode starts with
</p>
and ends with<p>
. How can I output it without these?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Shortcodes: block shortcodes have extra `</p>` and `<p>`’ is closed to new replies.