note 119767 added to domdocument.savehtml

From: Date: Sat, 20 Aug 2016 12:34:29 +0000
Subject: note 119767 added to domdocument.savehtml
Groups: php.notes 
Request: Send a blank email to php-notes+get-206340@lists.php.net to get a copy of this message
As of PHP 5.4 and Libxml 2.6, there is currently simpler approach: when you load html as this $html->loadHTML($content, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD); in the output, there will be no doctype, html or body tags ---- Server IP: 72.52.91.14 Probable Submitter: 78.45.161.28 ---- Manual Page -- http://php.net/manual/en/domdocument.savehtml.php Edit -- https://master.php.net/note/edit/119767 Del: integrated -- https://master.php.net/note/delete/119767/integrated Del: useless -- https://master.php.net/note/delete/119767/useless Del: bad code -- https://master.php.net/note/delete/119767/bad+code Del: spam -- https://master.php.net/note/delete/119767/spam Del: non-english -- https://master.php.net/note/delete/119767/non-english Del: in docs -- https://master.php.net/note/delete/119767/in+docs Del: other reasons-- https://master.php.net/note/delete/119767 Reject -- https://master.php.net/note/reject/119767 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#206340) next »