Hello, ProdbyDaan,
We appreciate your prompt response.
1/ We have checked the frontend and found that in the content of cart table there are automatically added ‘
‘ across the content in different places -> https://prnt.sc/e0Nt4EC6piZa
2/ After checking the editor of your content we found that [woocommerce_cart] shortcode was added in
wrapper with WordPress comments above and below (that breaks frontend view) -> https://prnt.sc/ioTEX1it2qz9
3/ We added an extra widget named «shortcode» (that was created for such specific cases to display the shortcodes) -> https://prnt.sc/qnOIdxiwjwsR
4/ Checking the frontend view and everything was going ok -> https://prnt.sc/NO_ntMOcenlT
5/ Also, for our surety we removed wrapping
and WordPress Comment «» from the content of your previous widget -> https://prnt.sc/WbxzPUEhWjeD and frontend displayed normally then as well -> https://prnt.sc/nWr0yKHaxpPX
From the solutions, we can suggest is next ones:
1/ Use shortcode widget for related shortcode «cases».
2/ Try to add next filter to your child theme to prevent WordPress auto-br adding in content across your web-site pages content.
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );
P.S.
To make you more sure that it is not related to our theme but rather to WP functionality here is an article with a similar question -> https://generatepress.com/forums/topic/how-do-i-prevent-wordpress-from-adding-br-and-p-tags-to-my-markup/ (https://prnt.sc/BmiUKxtX7vEB)
Kind Regards,
8theme team