From 9d19c120cf7e3e112a5bd72103a412332d486bc2 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 2 Sep 2018 20:26:56 +0200 Subject: [PATCH] oops, revert, that's not what we want! --- classes/document.php-class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/document.php-class b/classes/document.php-class index e98d292..5a60615 100755 --- a/classes/document.php-class +++ b/classes/document.php-class @@ -335,7 +335,7 @@ class ExtendedDocument extends DOMDocument { } public function createElementLink($target, $value = '') { - $link = $this->createElement('a', (strlen($value) ? $value : $target)); + $link = $this->createElement('a', $value); $link->setAttribute('href', $target); // XXX: take care of & etc. in links return $link; } -- 2.43.0