Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
#303930: Pluggable architecture for aggregator.module accidentally dropped the form for aggregator_allowed_html_tags. Needs to be brought back.
Will post a patch soon.
Comment | File | Size | Author |
---|---|---|---|
#19 | aggregator-allowed-tags.patch | 1.05 KB | mr.baileys |
#14 | 486246-10_aggregator_allowed_html_tags1.patch | 1.1 KB | Berdir |
#10 | 486246-10_aggregator_allowed_html_tags.patch | 1.08 KB | mustafau |
#7 | 486246-7_aggregator_allowed_html_tags.patch | 1.07 KB | mustafau |
#1 | 486246-1_aggregator_allowed_html_tags.patch | 1.09 KB | alex_b |
Comments
Comment #1
alex_b CreditAttribution: alex_b commentedAdds aggregator_allowed_html_tags to the top of the aggregator settings form.
aggregator_allowed_html_tags is used for rendering feed descriptions and feed item descriptions and is therefore a global aggregator setting - (as opposed to a fetcher, parser or processor setting).
Comment #2
brianV CreditAttribution: brianV commentedProvided it passes the tests, it looks ready to RTBC.
I had noticed that was missing in HEAD. Something I used in D6 - thought there was some great plan at work in it's disappearance.
Comment #3
catchIs it worth writing tests for this?
Comment #5
brianV CreditAttribution: brianV commentedresetting to 'needs review' - testbot was broken.
Comment #7
mustafau CreditAttribution: mustafau commentedReroll.
Comment #8
brianV CreditAttribution: brianV commentedComment #10
mustafau CreditAttribution: mustafau commentedComment #11
brianV CreditAttribution: brianV commentedComment #12
Dave ReidThis line:
+ $form = array();
is not necessary.
Comment #13
cburschkaThat is correct.
Comment #14
BerdirRe-roll. I've also removed the brackets in the description. Regarding that, I'm not sure if it would make sense to rewrite that, using the word Drupal "feels" wrong imho.
Comment #15
brianV CreditAttribution: brianV commentedPerhaps this?
'Tags in this list are not removed from imported feed items.'
Comment #16
sun.core CreditAttribution: sun.core commentedNot critical. Please read and understand Priority levels of Issues, thanks.
Comment #17
sun.core CreditAttribution: sun.core commented#14: 486246-10_aggregator_allowed_html_tags1.patch queued for re-testing.
Comment #18
heather CreditAttribution: heather commentedSubscribing.
As it is, setting up a Feed import with Drupal 7 means you can't allow images to be imported from feeds, or other HTML tags.
Comment #19
mr.baileysRe-rolled to remove some trailing white-space, and reworded the description to:
Comment #20
heather CreditAttribution: heather commentedHm... tested on a fresh install, and this is the error I got:
* Notice: Undefined index: aggregator_processors in aggregator_admin_form_submit() (line 501 of /Users/heather/Sites/d7march/drupal7march/modules/aggregator/aggregator.admin.inc).
* Warning: array_filter(): The first argument should be an array in aggregator_admin_form_submit() (line 501 of /Users/heather/Sites/d7march/drupal7march/modules/aggregator/aggregator.admin.inc).
Comment #21
mr.baileys@heather: true, but those appear both with and without this patch, and are addressed by #464792: Notice/warnings on submitting aggregator settings form
Comment #22
alex_b CreditAttribution: alex_b commentedThis test fixes a regression introduced with D7 development. Only difference is the wording of the description introduced in #14 which is much better now IMO:
D6: A space-separated list of HTML tags allowed in the content of feed items. (Tags in this list are not removed by Drupal.)
D7: A space-separated list of HTML tags allowed in the content of feed items. Disallowed tags are stripped from the content.
RTBC.
Comment #23
realityloop#19: aggregator-allowed-tags.patch queued for re-testing.
Comment #24
ksenzee#19: aggregator-allowed-tags.patch queued for re-testing.
Comment #25
ksenzeeConfirm this is still RTBC.
Comment #26
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.