{"id":2946671,"date":"2012-08-06T12:16:31","date_gmt":"2012-08-06T12:16:31","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-shortcode-developer-output-code-not-running\/"},"modified":"2016-08-20T14:17:53","modified_gmt":"2016-08-20T14:17:53","slug":"plugin-shortcode-developer-output-code-not-running","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-shortcode-developer-output-code-not-running\/","title":{"rendered":"[Plugin: Shortcode Developer] Rogue p tags"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I am running to an issue where TinyMCE is adding &lt;p&gt; tags all over the place &#8211; this causing the shortcode not to work and essentially breaking the markup.<\/p>\n<p>Has anyone else run into this? <\/p>\n<p>In TinyMCE I write:<\/p>\n<pre><code>[highlight tint_colour=&quot;light&quot;]\n&lt;h1&gt;A Title&lt;\/h1&gt;\n&lt;p&gt;Some Content&lt;\/p&gt;\n[\/highlight]<\/code><\/pre>\n<p>But when I save it, it ends up being:<\/p>\n<pre><code>&lt;p&gt;[highlight tint_colour=&quot;light&quot;]&lt;\/p&gt;\n&lt;h1&gt;A Title&lt;\/h1&gt;\n&lt;p&gt;Some Content&lt;\/p&gt;\n&lt;p&gt;[\/highlight]&lt;\/p&gt;<\/code><\/pre>\n<p>Then on the front end we end up with something like:<\/p>\n<pre><code>&lt;p&gt;\n&lt;div class=&quot;highlight-box light&quot;&gt;\n&lt;\/p&gt;\n&lt;h1&gt;A Title&lt;\/h1&gt;\n&lt;p&gt;Some Content&lt;\/p&gt;\n&lt;p&gt;\n&lt;\/div&gt;\n&lt;\/p&gt;<\/code><\/pre>\n<p>This might just be me being an idiot and doing something obviously wrong but I just can&#8217;t work out what is going wrong. I don&#8217;t think the issue is directly related to the plugin but I might be wrong.<\/p>\n<p>Any help with this would be great.<\/p>\n<p>Regards<\/p>\n<p>Shaun<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/shortcode-developer\/<\/p>\n","protected":false},"template":"","class_list":["post-2946671","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2946671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2946671\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2946671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}