summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-04-12 22:30:42 +0200
committerDries Buytaert <dries@buytaert.net>2011-04-12 22:30:42 +0200
commit1d0c020cc4c387362b788d45421359d34ce92228 (patch)
tree1d0433c0c8b6729c9d43440f8fa58a986ae3ca01 /modules
parent93ece291924226e797287e6584715918f730a99e (diff)
downloadbrdo-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.module2
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']));
}
/**