From fa683131c53d04845d6c732e1782f987125596d3 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 7 Sep 2018 10:04:26 +0300 Subject: don't replace link text content --- init.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.php b/init.php index 90d01a8..aabb251 100644 --- a/init.php +++ b/init.php @@ -38,8 +38,9 @@ class Zz_Text_Cached extends Plugin { $local_url = get_self_url_prefix() . '/public.php?op=cached_url&hash=' . sha1($url); $elem->setAttribute("href", $local_url); - $elem->nodeValue = ""; - $elem->appendChild($doc->createTextNode($local_url)); + + /*$elem->nodeValue = ""; + $elem->appendChild($doc->createTextNode($local_url));*/ $found = true; } -- cgit v1.2.3