Hi all, I'm struggling to find a way to prevent/remove the <p> tags from text produced by the RSS Import block
The following code in the 'content' section of the block...
{{if !empty( $items ) }}
<ul>
{{foreach $items as $item}}
<li>
<div class="link"><a href="{$item['link']}" target="_blank"><h3>{$item['title']}</h3></a></div>
<div>{$item['content']}</div>
</li>
{{endforeach}}
</ul>
{{endif}}
....produces text with a paragraph <p> around the content, e.g.
Uber drivers are workers not self-employed, Supreme Court rules
<p>The decision could mean thousands of Uber drivers are set to receive minimum wage and holiday pay.</p>
High Court urged to overturn PM's decision to stand by Priti Patel
<p>Boris Johnson's defence of the home secretary over bullying claims caused "dismay and anger", a union says.</p>
Covid vaccine passports could discriminate, experts warn
<p>They are 'feasible' but need to meet 12 tests before being brought in, the Royal Society says.</p>
The <p> tag isn't in the original RSS feeds, and I've tried many feeds, so it's being introduced by the block. The above text was parsed from http://feeds.bbci.co.uk/news/rss.xml
Do any of you know how I can prevent the tag being added, or strip the tag from the results?
Thanks!