Skip to content

Commit 61e6b3d

Browse files
author
Andrew Scott
committed
Change libxml2 default options
1 parent a062146 commit 61e6b3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Document.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Document extends \DOMDocument
2121
use ManipulationTrait;
2222

2323
/** @var int */
24-
protected $libxmlOptions = 0;
24+
protected $libxmlOptions = LIBXML_NONET | LIBXML_HTML_NODEFDTD;
2525

2626
/** @var string|null */
2727
protected $documentEncoding = null;

0 commit comments

Comments
 (0)