Hey @mddswalk,
The plugin will probably not work properly if the html on your page is invalid or with html markup errors, also for me it was outputting another HTML doctype declaration so I modified the line:
$doc->loadHTML( mb_convert_encoding( $content, ‘HTML-ENTITIES’, ‘UTF-8’ ))
to
$doc->loadHTML( mb_convert_encoding( $content, ‘HTML-ENTITIES’, ‘UTF-8’ ), LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD );
I will try to suggest this change to the author.
Best!