Allow HTML in all item content

RSS description may contain encoded entities
This commit is contained in:
2024-04-14 20:05:39 -04:00
parent fe16ec7281
commit c74d9ccb74
4 changed files with 6 additions and 18 deletions

View File

@@ -35,8 +35,8 @@ page_head('Welcome'); ?>
<article><?php
if ($item) {
while ($item) { ?>
<p><a href=/item?id=<?=$item['id']?>><?=htmlentities($item['item_title'])?></a><br>
<?=htmlentities($item['feed_title'])?><br><small><em><?=date_time($item['as_of'])?></em></small><?php
<p><a href=/item?id=<?=$item['id']?>><?=$item['item_title']?></a><br>
<?=$item['feed_title']?><br><small><em><?=date_time($item['as_of'])?></em></small><?php
$item = $result->fetchArray(SQLITE3_ASSOC);
}
} else { ?>