Title: Missing paragraph tag after shortcode
Last modified: December 3, 2018

---

# Missing paragraph tag after shortcode

 *  Resolved [ADvi](https://wordpress.org/support/users/advi/)
 * (@advi)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/missing-paragraph-tag-after-shortcode/)
 * Hi.
    When I put in my post editor such code
 *     ```
       --
   
       The first line with shortcode [su_button]Button text[/su_button]
       The second line with shortcode [su_button]Button text[/su_button]
   
       --
   
       The first line with shortcode [su_button]Button text[/su_button] and text
       The second line with shortcode [su_button]Button text[/su_button] and text
       ```
   
 * I’ve got this [http://prntscr.com/lq5kuk](http://prntscr.com/lq5kuk)
    The source
   code of this block:
 *     ```
       <p>—</p>
       <p>The first line with shortcode <a href="#" class="su-button su-button-style-default"  target="_self"><span> Button text</span></a>
       The second line with shortcode <a href="#" class="su-button su-button-style-default"  target="_self"><span> Button text</span></a>
       <p>—</p>
       <p>The first line with shortcode <a href="#" class="su-button su-button-style-default"  target="_self"><span> Button text</span></a> and text<br />
       The second line with shortcode <a href="#" class="su-button su-button-style-default"  target="_self"><span> Button text</span></a> and text</p>
       ```
   
 * So there is missing paragraph tag after shortcode when the line ends with shortcode.
   
   How can this be fixed? Thanks.
    -  This topic was modified 7 years, 6 months ago by [ADvi](https://wordpress.org/support/users/advi/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Vova](https://wordpress.org/support/users/gn_themes/)
 * (@gn_themes)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/missing-paragraph-tag-after-shortcode/#post-10943132)
 * Hi [@advi](https://wordpress.org/support/users/advi/),
 * navigate to `Dashboard - Shortcodes - Settings` and disable the **Custom formatting**
   option.
 *  Thread Starter [ADvi](https://wordpress.org/support/users/advi/)
 * (@advi)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/missing-paragraph-tag-after-shortcode/#post-10944178)
 * Thanks! It works 😉

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Missing paragraph tag after shortcode’ is closed to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [Shortcodes Ultimate - Content Elements](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ADvi](https://wordpress.org/support/users/advi/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/missing-paragraph-tag-after-shortcode/#post-10944178)
 * Status: resolved