diff options
author | Mario <mario@mariovavti.com> | 2019-11-08 09:46:23 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-11-08 10:47:28 +0100 |
commit | bcd0802ea4a23971b5d53892c7de4e9e1822309f (patch) | |
tree | d63be67b6c55f2f17496e8b4fc1796cb88b7960e /vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Custom.php | |
parent | 9360148829bb32351d40b2b552ea40ea3878b3b5 (diff) | |
download | volse-hubzilla-bcd0802ea4a23971b5d53892c7de4e9e1822309f.tar.gz volse-hubzilla-bcd0802ea4a23971b5d53892c7de4e9e1822309f.tar.bz2 volse-hubzilla-bcd0802ea4a23971b5d53892c7de4e9e1822309f.zip |
update composr libs
(cherry picked from commit 2df15f35d706d4608ff723ce6288391ca774f7ba)
Diffstat (limited to 'vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Custom.php')
-rw-r--r-- | vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Custom.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Custom.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Custom.php index 128132e96..f515888a1 100644 --- a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Custom.php +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Custom.php @@ -45,7 +45,7 @@ class HTMLPurifier_ChildDef_Custom extends HTMLPurifier_ChildDef protected function _compileRegex() { $raw = str_replace(' ', '', $this->dtd_regex); - if ($raw{0} != '(') { + if ($raw[0] != '(') { $raw = "($raw)"; } $el = '[#a-zA-Z0-9_.-]+'; |