diff options
author | wn_ <[email protected]> | 2024-07-05 03:16:53 +0000 |
---|---|---|
committer | wn_ <[email protected]> | 2024-07-05 03:17:11 +0000 |
commit | 0ce4ae3ececf2cbb19c71e002c98d95af121988d (patch) | |
tree | 2fc558520829a24d58dfbaa747f483f9617ff726 /lib/htmlpurifier/library/HTMLPurifier/Strategy | |
parent | 59cf2181445e3e52124893adcf0a9ecfc4b5a05f (diff) |
Don't reuse the '$matches' array in 'RSSUtils::decode_srcset()'.
This causes the size of the array to be incorrectly doubled due to the original regex match items being combined with the custom items (i.e. the ones with just 'url' and 'size' keys).
Also rework 'RSSUtils::encode_srcset()' a bit so it looks similar to 'RSSUtils::decode_srcset()'.
Diffstat (limited to 'lib/htmlpurifier/library/HTMLPurifier/Strategy')
0 files changed, 0 insertions, 0 deletions