dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
374c817
)
WebInstaller::docLink: Use Html::element to generate the link
author
Fomafix
<fomafix@googlemail.com>
Thu, 7 Jun 2018 09:34:00 +0000
(11:34 +0200)
committer
Fomafix
<fomafix@googlemail.com>
Thu, 7 Jun 2018 09:34:37 +0000
(11:34 +0200)
Change-Id: I1e3163d9814345e6b108072886b9756cc84d168a
includes/installer/WebInstaller.php
patch
|
blob
|
history
diff --git
a/includes/installer/WebInstaller.php
b/includes/installer/WebInstaller.php
index
d754a37
..
e6ca337
100644
(file)
--- a/
includes/installer/WebInstaller.php
+++ b/
includes/installer/WebInstaller.php
@@
-1142,9
+1142,7
@@
class WebInstaller extends Installer {
public function docLink( $linkText, $attribs, $parser ) {
$url = $this->getDocUrl( $attribs['href'] );
- return '<a href="' . htmlspecialchars( $url ) . '">' .
- htmlspecialchars( $linkText ) .
- '</a>';
+ return Html::element( 'a', [ 'href' => $url ], $linkText );
}
/**