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-02-18 13:41:45 +01:00
2017-10-16 22:24:49 -04:00
2017-07-29 19:55:12 +02:00
2018-07-31 21:44:37 +02:00
2017-07-29 19:55:12 +02:00
2018-04-06 20:42:19 +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-06-29 22:55:33 +01:00
2018-01-12 12:08:15 +00:00
2017-07-29 19:55:12 +02:00
2018-06-29 22:55:33 +01:00
2017-07-29 19:55:12 +02:00
2018-05-29 11:28:22 +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
2018-08-09 17:04:16 +02:00
2018-06-29 22:55:33 +01:00
2018-06-29 22:55:33 +01: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
2018-04-19 21:00:18 +02:00
2017-07-29 19:55:12 +02:00
2018-08-09 17:04:16 +02:00
2018-06-29 22:55:33 +01:00
2018-04-17 15:25:02 +02:00
2017-02-12 15:34:08 +01:00
2017-04-23 19:19:50 -05:00
2017-07-29 19:55:12 +02:00
2018-06-29 22:55:33 +01:00
2017-02-12 15:34:08 +01:00
2017-08-06 20:29:21 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2018-08-09 17:04:16 +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-06-29 22:55:33 +01:00
2018-06-29 22:55:33 +01:00
2018-07-08 17:16:00 +02:00
2018-08-09 17:04:16 +02:00
2018-04-15 13:21:48 +02:00
2017-07-29 19:55:12 +02:00
2018-07-21 18:07:03 +02:00
2018-08-09 17:04:16 +02:00
2018-07-23 20:14:46 +02:00
2018-06-29 22:55:33 +01:00
2018-08-04 23:42:58 +02:00
2018-06-29 22:55:33 +01:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-08-05 22:38:24 +02:00
2017-07-29 19:55:12 +02:00
2018-07-29 16:31:47 +02:00
2018-06-29 22:55:33 +01:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2018-06-29 22:55:33 +01:00
2018-07-31 19:15:09 +02:00
2018-06-29 22:55:33 +01:00
2018-06-15 21:09:09 +02:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2018-07-13 00:35:13 +01:00
2017-07-29 19:55:12 +02:00
2018-06-29 22:55:33 +01:00
2018-07-21 15:25:13 +02:00
2018-04-06 22:25:49 +02:00
2017-07-29 19:55:12 +02:00
2018-06-30 10:27:05 +02:00
2017-07-29 19:55:12 +02:00
2018-04-06 20:42:19 +02:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2018-06-30 10:27:05 +02:00
2018-08-01 17:25:18 +02:00
2018-01-09 14:57:17 +01:00
2017-07-29 19:55:12 +02:00
2018-06-29 22:55:33 +01: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-08-05 15:56:35 +02:00
2018-06-29 22:55:33 +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
2018-07-13 00:35:13 +01:00
2018-06-29 22:55:33 +01:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-03-21 20:27:12 +00:00
2017-02-12 15:34:08 +01:00
2018-06-29 22:55:33 +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-12-24 16:45:56 -05:00
2017-07-29 19:55:12 +02:00
2018-06-29 22:55:33 +01:00
2018-08-09 17:04:16 +02:00
2018-03-11 15:38:07 +01:00
2018-06-29 22:55:33 +01:00
2018-06-29 22:55:33 +01:00
2017-07-29 19:55:12 +02:00
2018-06-29 22:55:33 +01:00
2017-07-29 19:55:12 +02:00
2018-06-29 22:55:33 +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
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-06-29 22:55:33 +01:00
2018-06-29 22:55:33 +01:00
2018-06-29 22:55:33 +01:00
2018-07-27 23:18:32 +02:00
2018-04-17 14:24:00 +02:00
2018-03-12 09:22:34 +00:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2018-06-29 22:55:33 +01:00
2018-08-09 17:04:16 +02:00
2017-07-29 19:55:12 +02:00
2017-02-12 15:34:08 +01:00
2018-02-11 19:08:19 +01:00
2017-07-29 19:55:12 +02:00
2017-07-29 19:55:12 +02:00
2017-08-28 20:00:00 +02:00
2017-07-29 19:55:12 +02:00
2018-01-12 12:07:40 +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
2018-08-09 17:04:16 +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-06-29 22:55:33 +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
2018-04-22 12:58:07 +02:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2018-08-09 17:04:16 +02:00
2018-07-21 14:33:07 +02:00
2017-07-29 19:55:12 +02:00
2018-07-16 12:02:41 +02:00