• Resolved ADvi

    (@advi)


    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
    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, 3 months ago by ADvi.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

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