• Resolved guptawp

    (@guptawp)


    I design my website homepage using nimble builder. I used nimble builder templete for Homepage. My Website URL is SARALBOOK homepage.when i tested my website on HTML Validator it is showing No <p> element in scope but a </p> end tag seen. Total 12 times i used shortcode module in 12 different column. 6 visible in desktop and 6 visible in mobile & and tablet. Same shortcode i used on different pages useing Gutenberg blocks shortcode and those pages are html error free of this type.
    Please fix the shortcode module of Nimble Builder. Thank You

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author presscustomizr

    (@nikeo)

    Thanks for reporting this validation issue 🙏
    I’m on it.
    I might need to connect to your website to have a complete understanding of the problem. If you agree, please drop us a line on this contact form.

    Thread Starter guptawp

    (@guptawp)

    yes sure

    Thread Starter guptawp

    (@guptawp)

    Today i write the shortcode using text instead of visual given in nimble builder. i simply write the shortcode like this <div>[shortcode]</div> now the html validator is not showing such type of error. I hope in upcoming nimble builder update we will be able to use visual editor for shortcode without error. Thanks for quick response.

    Plugin Author presscustomizr

    (@nikeo)

    Hello,
    I’m trying to reproduce the error without success.
    I’m using the shortcode module with a simple shortcode :

    
    add_shortcode( 'test_sc', 'test_sc_callback' );
    function test_sc_callback() {
      return '<div><p>SHORTCODE TEST CONTENT</p></div>';
    }
    

    In the markup, there’s no additional p tag.

    Can you describe the detailed steps to reproduce your problem ?
    Screenshots are welcome if possible. ( You can use an online screenshot sharing tool like https://prnt.sc/ to include a link to screenshot. )
    Thank you.

    Plugin Author presscustomizr

    (@nikeo)

    @guptawp did you see my previous message ? I’d need your input to solve this issue.
    Thank you 🙏

    Thread Starter guptawp

    (@guptawp)

    Without div element screenshot https://prnt.sc/s9kmkp

    Without div element validator.w3.org error “No p element in scope but a p end tag seen” screenshot https://prnt.sc/s9kn5y

    With div element screenshot https://prnt.sc/s9koad

    With div element validator.w3.org No error of such type screenshot https://prnt.sc/s9kox5

    I use div element for all my shortcodes so now i am facing no error.

    Thanks for awesome plugin.

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

The topic ‘Shortcode Module creating error in html validator’ is closed to new replies.