diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-04-12 22:30:42 +0200 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-04-12 22:30:42 +0200 |
commit | 1d0c020cc4c387362b788d45421359d34ce92228 (patch) | |
tree | 1d0433c0c8b6729c9d43440f8fa58a986ae3ca01 /modules | |
parent | 93ece291924226e797287e6584715918f730a99e (diff) | |
download | brdo-1d0c020cc4c387362b788d45421359d34ce92228.tar.gz brdo-1d0c020cc4c387362b788d45421359d34ce92228.tar.bz2 |
- Patch #1095498 by ohnobinki: toolbar toggle link rendered without escaping ampersand as an html entity.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/toolbar/toolbar.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/toolbar/toolbar.module b/modules/toolbar/toolbar.module index 397639e58..61ae648ad 100644 --- a/modules/toolbar/toolbar.module +++ b/modules/toolbar/toolbar.module @@ -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'])); } /** |