Skip to content
Snippets Groups Projects
Commit 1d0c020c authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #1095498 by ohnobinki: toolbar toggle link rendered without escaping...

- Patch #1095498 by ohnobinki: toolbar toggle link rendered without escaping ampersand as an html entity.
parent 93ece291
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ function theme_toolbar_toggle($variables) {
$toggle_text = t('Hide shortcuts');
$variables['attributes']['class'][] = 'toggle-active';
}
return '<a href="' . url('toolbar/toggle', array('query' => drupal_get_destination())) . '" title="' . $toggle_text . '"' . drupal_attributes($variables['attributes']) . '>' . $toggle_text . '</a>';
return l($toggle_text, 'toolbar/toggle', array('query' => drupal_get_destination(), 'attributes' => array('title' => $toggle_text) + $variables['attributes']));
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment