I am trying to use views to create a block holding certain feed content however views seems to strip HTML from the feeds decription nodes. Is there any way around this? In the aggregator settings I can set which HTML tags are allowed in but once it hits Views its seems to all get stripped out anyway...
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | views-aggregator-description.patch | 1.52 KB | dawehner |
| #4 | views-aggregator-description.patch | 1.68 KB | dawehner |
Comments
Comment #1
merlinofchaos commentedYou need to be very specific. Attaching an export of the view might help, but you need to say which fields you're using, to start with, and precise instructions to get into the situation you're doing. Views has a LOT of options, and I am not going to guess which ones you're using.
Comment #2
beauz commentedHere's an export of the view:
Comment #3
dawehnerCurrently it is used filter_xss for the description. So there should be a custom field handler, which reads out the settings from aggregator and display it.
Comment #4
dawehnerhere is it
Comment #5
sarhugo commentedPatch works.
One improvement: instead of repeat the logic on the handler's render function it's best to just call aggregator_filter_xss on it:
Comment #6
dawehnerVery good idea!
Comment #7
merlinofchaos commentedCan we get an updated patch with the change from #5?
Comment #8
dawehnerhere it is:
Comment #9
merlinofchaos commentedCommited to all 6.x branches. Does not apply to 7.x -- needs porting.
Comment #10
dawehnerand fixed