oops, revert, that's not what we want!
authorRobert Kaiser <kairo@kairo.at>
Sun, 2 Sep 2018 18:26:56 +0000 (20:26 +0200)
committerRobert Kaiser <kairo@kairo.at>
Sun, 2 Sep 2018 18:26:56 +0000 (20:26 +0200)
classes/document.php-class

index e98d292a134c8f256c5c60f6c6f0ea3372b5fb5e..5a60615b7189eac910f8f245ce4bad86954eaf10 100755 (executable)
@@ -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;
   }