incorrect “loadHtml”
-
Hi! (PHP 7.1, WP 5.03)
function linkify (in file mgcl_core.php)
$html->loadHtml( $buffer, 0 );
need to fix on
$html->loadHtml( $buffer, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD );
otherwise:
<div class="entry-content clearfix"><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "https://www.w3.org/TR/REC-html40/loose.dtd"> <html><body>...
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘incorrect “loadHtml”’ is closed to new replies.