mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-09-02 18:25:11 +00:00
disable external link adjustments
This commit is contained in:
parent
6485d78a04
commit
23ffee8dbd
1 changed files with 3 additions and 0 deletions
|
@ -179,6 +179,9 @@ class View
|
||||||
|
|
||||||
public static function safeExternalLinks(string $html, string $domain): string
|
public static function safeExternalLinks(string $html, string $domain): string
|
||||||
{
|
{
|
||||||
|
//temporarily disable this as it is breaking JS
|
||||||
|
return $html;
|
||||||
|
|
||||||
$dom = new PHPHtmlParser\Dom();
|
$dom = new PHPHtmlParser\Dom();
|
||||||
$dom->load($html, ['cleanupInput' => false, 'removeDoubleSpace' => false, 'removeSmartyScripts' => false]);
|
$dom->load($html, ['cleanupInput' => false, 'removeDoubleSpace' => false, 'removeSmartyScripts' => false]);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue