Merge pull request #1239 from oddnoc/broken-links-report-broken-link-31

Correct doubly-escaped " marks
This commit is contained in:
Damian Mooyman 2015-07-14 15:29:57 +12:00
commit 2771f2708b

View File

@ -83,7 +83,7 @@ class BrokenLinksReport extends SS_Report {
"Title" => array(
"title" => _t('BrokenLinksReport.PageName', 'Page name'),
'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),
_t('BrokenLinksReport.HoverTitleEditPage', 'Edit page'),
$value