aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer.php
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-07-07 12:16:27 +0200
committerGitHub <noreply@github.com>2017-07-07 12:16:27 +0200
commitd077f15270e7c6954a7fb4d6e4d60d6dbb0777c7 (patch)
treefdfd2b1908a87f6e1396046ee95307506c079172 /vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer.php
parentb16e4c558ffb47d2b48f0dab97e4389c9198f831 (diff)
parent31d1a728544f7ae740463cd0d1f345544175fcd2 (diff)
downloadvolse-hubzilla-d077f15270e7c6954a7fb4d6e4d60d6dbb0777c7.tar.gz
volse-hubzilla-d077f15270e7c6954a7fb4d6e4d60d6dbb0777c7.tar.bz2
volse-hubzilla-d077f15270e7c6954a7fb4d6e4d60d6dbb0777c7.zip
Merge pull request #822 from dawnbreak/composer-light
Add optimize-autoloader to composer config.
Diffstat (limited to 'vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer.php')
-rw-r--r--vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer.php
index 99b3c7df0..e9da3ed5e 100644
--- a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer.php
+++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer.php
@@ -96,7 +96,7 @@ class HTMLPurifier_Lexer
break;
}
- if (class_exists('DOMDocument') &&
+ if (class_exists('DOMDocument', false) &&
method_exists('DOMDocument', 'loadHTML') &&
!extension_loaded('domxml')
) {