summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-09-07 10:04:26 +0300
committerAndrew Dolgov <[email protected]>2018-09-07 10:04:26 +0300
commitfa683131c53d04845d6c732e1782f987125596d3 (patch)
tree06aaa1534d3ff9e054849a6c5405159fccc7e2b2
parentcbd007bf380695858bd39c5b6f286efebfd0836a (diff)
don't replace link text content
-rw-r--r--init.php5
1 files 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;
}