fix urls by actually using &

This commit is contained in:
Michael Große 2017-04-10 12:17:46 +02:00
commit 4d79698367
No known key found for this signature in database
GPG key ID: 7E31028FBFEACC79

View file

@ -58,7 +58,7 @@
'style' => 'background-image: none;',
);
$svg = __DIR__ . '/../images/tools/FIXME';
$item = \dokuwiki\template\sprintdoc\tpl::pageToolItem(wl($ID, $params), $odt->getLang('export_odt_button'), $svg, $attr);
$item = \dokuwiki\template\sprintdoc\tpl::pageToolItem(wl($ID, $params, false, '&'), $odt->getLang('export_odt_button'), $svg, $attr);
echo '<li>' . $item . '</li>';
}
@ -76,7 +76,7 @@
'style' => 'background-image: none;',
);
$svg = __DIR__ . '/../images/tools/40-pdf-file.svg';
$item = \dokuwiki\template\sprintdoc\tpl::pageToolItem(wl($ID, $params), $dw2pdf->getLang('export_pdf_button'), $svg, $attr);
$item = \dokuwiki\template\sprintdoc\tpl::pageToolItem(wl($ID, $params, false, '&'), $dw2pdf->getLang('export_pdf_button'), $svg, $attr);
echo '<li>' . $item . '</li>';
}
}