0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-09-21 03:35:18 +00:00
htmlpurifier/library/HTMLPurifier/HTMLModule
Arkadiusz Biczewski 996eaf4331
Remove unnecessary reference assigment (#301)
* Remove unnecessary reference assigment

Proposed code is PHP5 and PHP7 compatible. PHP5 interpreted `$e->$type[$attr]` as `$e->{$type[$attr]}`, but the expected behavior based on workaround is consistent with PHP7 interpretation: `($e->$type)[$attr]`. By using curly braces `{$e->$type}[$attr]` there is a forced interpretation order working for both versions.
Details can be found on https://www.php.net/manual/en/migration70.incompatible.php (section "Changes to the handling of indirect variables, properties, and methods")

* Fix syntax

Use correct syntax for indirect variable evaluation order change.
2021-09-07 14:16:55 -04:00
..
Tidy Added tr@bgcolor to tidy (#244) 2020-02-22 12:10:30 -05:00
Bdo.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
CommonAttributes.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Edit.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Forms.php Add %HTML.Forms config directive (#260) 2020-06-28 20:26:33 -04:00
Hypertext.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Iframe.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Image.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Legacy.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
List.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Name.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Nofollow.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
NonXMLCommonAttributes.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Object.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Presentation.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Proprietary.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Ruby.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
SafeEmbed.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
SafeObject.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
SafeScripting.php Make SafeScripting case-sensitive. 2018-11-11 16:21:58 -05:00
Scripting.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
StyleAttribute.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Tables.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Target.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
TargetBlank.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
TargetNoopener.php Refactor HTML.Noopener to HTML.TargetNoopener so that it behaves like HTML.TargetNoreferrer and is active by default if a target is set 2017-02-03 16:54:51 -08:00
TargetNoreferrer.php Add %HTML.TargetNoreferrer, which adds rel="noreferrer" when target attribute is set 2016-06-30 21:53:43 -04:00
Text.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Tidy.php Remove unnecessary reference assigment (#301) 2021-09-07 14:16:55 -04:00
XMLCommonAttributes.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00