--- gmap.module	Tue Jun 08 18:40:59 2010
+++ gmap.module	Wed Mar 16 12:24:03 2011
@@ -498,7 +498,7 @@
  */
 function gmap_filter_tips($delta, $format, $long = FALSE) {
   if (user_access('create gmap macro')) { // only display macro if user can create one
-    return t('Insert Google Map macro.') . '<a href="' . url('map/macro') . '" target="_blank" >' . t('Create a macro') . '</a>';
+    return t('Insert Google Map macro.') .' '. l(t('Create a macro'), 'map/macro', array('attributes' => array('class' => 'target-blank')));
   }
   else {
     return t('Insert Google Map macro.');
