mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
require src and alt for images
This commit is contained in:
@@ -14,7 +14,7 @@ export function FeedEntryBody(props: FeedEntryBodyProps) {
|
||||
<Box>
|
||||
<Content content={props.entry.content} />
|
||||
</Box>
|
||||
{props.entry.enclosureUrl && (
|
||||
{props.entry.enclosureType && props.entry.enclosureUrl && (
|
||||
<Box pt="md">
|
||||
<Enclosure enclosureType={props.entry.enclosureType} enclosureUrl={props.entry.enclosureUrl} />
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user