[Resolved] formatting incorrect with shortcode adding line breaks
That’s because for every carriage return in the event shortcode WordPress is adding a br or a p tag which is causing the line breaks that you are seeing. The theme applies the built-in WordPress filters to all shortcodes and content entered into any of the page content areas, which includes rendering carriage returns as br and p tags. I’m not exactly sure how to tell WordPress not to use these filters for plugins, but if I can figure out a way to do this I will update the theme with this. If you figure anything out regarding this I would appreciate the info!
- The topic ‘[Resolved] formatting incorrect with shortcode adding line breaks’ is closed to new replies.