We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32f3e33 commit 1ac58d0Copy full SHA for 1ac58d0
1 file changed
Classes/ViewHelpers/LinkViewHelper.php
@@ -98,12 +98,10 @@ public function render(): string
98
$uri .= '#' . $this->arguments['section'];
99
}
100
101
- $tag = new static();
102
- $tag->tag->setTagName('a');
103
- $tag->tag->addAttribute('href', $uri);
104
- $tag->tag->setContent($childContent);
+ $this->tag->addAttribute('href', $uri);
+ $this->tag->setContent($childContent);
105
106
- return $tag->tag->render();
+ return $this->tag->render();
107
108
109
/**
0 commit comments