I have simple one column HTML files (ebooks from Gutenberg Project).
I want to identify in the DOM the block elements (like <h1> <p> <div> <table> etc
, not <a> <em> <b> etc
) and enclose them in <div>
tags.
Is there any easy way to do it in jQuery?
Thanks