mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Correct doubly-escaped " marks
The links in the Broken Links Report had extraneous " marks that made them unusable. This fixes the links.
This commit is contained in:
parent
284a0f0e13
commit
f9cceaada0
@ -83,7 +83,7 @@ class BrokenLinksReport extends SS_Report {
|
|||||||
"Title" => array(
|
"Title" => array(
|
||||||
"title" => _t('BrokenLinksReport.PageName', 'Page name'),
|
"title" => _t('BrokenLinksReport.PageName', 'Page name'),
|
||||||
'formatting' => function($value, $item) use ($linkBase) {
|
'formatting' => function($value, $item) use ($linkBase) {
|
||||||
return sprintf('<a href=\"%s\" title=\"%s\">%s</a>',
|
return sprintf('<a href="%s" title="%s">%s</a>',
|
||||||
Controller::join_links($linkBase, $item->ID),
|
Controller::join_links($linkBase, $item->ID),
|
||||||
_t('BrokenLinksReport.HoverTitleEditPage', 'Edit page'),
|
_t('BrokenLinksReport.HoverTitleEditPage', 'Edit page'),
|
||||||
$value
|
$value
|
||||||
|
Loading…
Reference in New Issue
Block a user