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.
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.
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.
@guptawp did you see my previous message ? I’d need your input to solve this issue.
Thank you 🙏
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.