aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/feedController.php
diff options
context:
space:
mode:
authorGravatar Sam Edwards <sam@samedwards.ca> 2025-07-16 16:44:10 -0700
committerGravatar GitHub <noreply@github.com> 2025-07-17 01:44:10 +0200
commit5bbd299c7e3d38ffc6d3e618054ca288f947a203 (patch)
tree2bdbd12fe59bce90156dbc9d23667670904e2d66 /app/Controllers/feedController.php
parent5489d864f6e7207e41a48145aef9ec136944d70f (diff)
Call DOMNode::insertBefore() on the parent of it's $child (#7741)
Follow-up to https://github.com/FreshRSS/FreshRSS/pull/7654#discussion_r2208901108 Changes proposed in this pull request: - `DOMNode::insertBefore()` needs to be called on an element that is the parent of the `$child` param being passed - Update code to call this on `$doc->documentElement` instead of directly on the `$doc` (`DOMDocument`) How to test the feature manually: 1. Set up an HTML + XPath feed for a URL that contains partial HTML content (eg. https://victoria.citified.ca/modules/blog/news.php?n=7&c=8) 1. Observe that the feed is processed successfully without error, and that the `<base>` is still inserted
Diffstat (limited to 'app/Controllers/feedController.php')
0 files changed, 0 insertions, 0 deletions