Title: [Plugin: Shortcode Developer] Rogue p tags
Last modified: August 20, 2016

---

# [Plugin: Shortcode Developer] Rogue p tags

 *  Resolved [forepoint](https://wordpress.org/support/users/forepoint/)
 * (@forepoint)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-shortcode-developer-output-code-not-running/)
 * Hello,
 * I am running to an issue where TinyMCE is adding <p> tags all over the place –
   this causing the shortcode not to work and essentially breaking the markup.
 * Has anyone else run into this?
 * In TinyMCE I write:
 *     ```
       [highlight tint_colour="light"]
       <h1>A Title</h1>
       <p>Some Content</p>
       [/highlight]
       ```
   
 * But when I save it, it ends up being:
 *     ```
       <p>[highlight tint_colour="light"]</p>
       <h1>A Title</h1>
       <p>Some Content</p>
       <p>[/highlight]</p>
       ```
   
 * Then on the front end we end up with something like:
 *     ```
       <p>
       <div class="highlight-box light">
       </p>
       <h1>A Title</h1>
       <p>Some Content</p>
       <p>
       </div>
       </p>
       ```
   
 * This might just be me being an idiot and doing something obviously wrong but 
   I just can’t work out what is going wrong. I don’t think the issue is directly
   related to the plugin but I might be wrong.
 * Any help with this would be great.
 * Regards
 * Shaun
 * [http://wordpress.org/extend/plugins/shortcode-developer/](http://wordpress.org/extend/plugins/shortcode-developer/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Elliot Condon](https://wordpress.org/support/users/elliotcondon/)
 * (@elliotcondon)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-shortcode-developer-output-code-not-running/#post-2946846)
 * Interesting… I believe WP converts all new lines into p tags. What if you remove
   the line breaks
 * Maybe this is a bug which I need to fix. I’ll do some testing

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Shortcode Developer] Rogue p tags’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shortcode-developer.svg)
 * [Shortcode Developer](https://wordpress.org/plugins/shortcode-developer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcode-developer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcode-developer/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcode-developer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcode-developer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcode-developer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Elliot Condon](https://wordpress.org/support/users/elliotcondon/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-shortcode-developer-output-code-not-running/#post-2946846)
 * Status: resolved