Skip to content

Commit

Permalink
Remove NS_CLEAN option: messes up the position of xmlns-attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Jan 25, 2025
1 parent 2396954 commit 70129c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DOMDocumentFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ final class DOMDocumentFactory
* @var non-negative-int
* TODO: Add LIBXML_NO_XXE to the defaults when PHP 8.4.0 + libxml 2.13.0 become generally available
*/
public const DEFAULT_OPTIONS = LIBXML_COMPACT | LIBXML_NONET | LIBXML_NSCLEAN;
public const DEFAULT_OPTIONS = LIBXML_COMPACT | LIBXML_NONET;


/**
Expand Down

0 comments on commit 70129c4

Please sign in to comment.