Commit 571f3e52 authored by Dries's avatar Dries
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 2570e32d
...@@ -95,7 +95,7 @@ function theme_toolbar_toggle($variables) { ...@@ -95,7 +95,7 @@ function theme_toolbar_toggle($variables) {
$toggle_text = t('Hide shortcuts'); $toggle_text = t('Hide shortcuts');
$variables['attributes']['class'][] = 'toggle-active'; $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']));
} }
/** /**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment