mirror of
https://github.com/friendica/friendica
synced 2025-04-25 06:30:11 +00:00
Remove redundant htmlentities/htmlspecialchars
This commit is contained in:
parent
52ca6f34cd
commit
761e94d134
14 changed files with 47 additions and 64 deletions
|
@ -25,12 +25,12 @@ class Itemsource extends \Friendica\BaseModule
|
|||
$conversation = Model\Conversation::getByItemUri($item['uri']);
|
||||
|
||||
$item_uri = $item['uri'];
|
||||
$source = htmlspecialchars($conversation['source']);
|
||||
$source = $conversation['source'];
|
||||
}
|
||||
|
||||
$tpl = Renderer::getMarkupTemplate('debug/itemsource.tpl');
|
||||
$o = Renderer::replaceMacros($tpl, [
|
||||
'$guid' => ['guid', L10n::t('Item Guid'), htmlentities(defaults($_REQUEST, 'guid', '')), ''],
|
||||
'$guid' => ['guid', L10n::t('Item Guid'), defaults($_REQUEST, 'guid', ''), ''],
|
||||
'$source' => $source,
|
||||
'$item_uri' => $item_uri
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue