logmanoriginal ee28b124e0 [DanbooruBridge] Fix bridge
This commit fixes an issue caused by self closing tags not supported
by simplehtmldom (<source>).

Adds a monkey patch to extend simplehtmldom with the ability to detect
that particular tag. Most of the code added is copied directly from
simplehtmldom (see vendor/simplehtmldom) with adjustments to account
for RSS-Bridge formatting.

Related to: https://sourceforge.net/p/simplehtmldom/bugs/83/

Notice: The tag itself is valid according to Mozilla:

The HTML <picture> element serves as a container for zero or more
<source> elements and one <img> element to provide versions of an
image for different display device scenarios. The browser will
consider each of the child <source> elements and select one
corresponding to the best match found; if no matches are found
among the <source> elements, the file specified by the <img>
element's src attribute is selected. The selected image is then
presented in the space occupied by the <img> element.

-- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture

References #753
2018-08-09 21:55:43 +02:00
..
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2018-08-09 21:55:43 +02:00
2017-04-23 19:19:50 -05:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2018-01-11 11:44:51 +00:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2018-03-12 09:22:34 +00:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2017-07-29 19:55:12 +02:00