mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 09:37:26 +00:00
only fix external links if there's a layout
This commit is contained in:
parent
a83245afbc
commit
52dc3068a1
1 changed files with 1 additions and 1 deletions
|
@ -34,8 +34,8 @@ class Controller
|
|||
$content = View::render($viewTemplate, $viewParameters + ['fullPage' => true]);
|
||||
if ($layout) {
|
||||
$content = View::render('layout/basic', ['content' => $content] + $layoutParams);
|
||||
$content = View::safeExternalLinks($content, Request::getHost());
|
||||
}
|
||||
$content = View::safeExternalLinks($content, Request::getHost());
|
||||
Response::setContent($content);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue