Index: sites/all/modules/community_tags/community_tags.pages.inc
===================================================================
--- sites/all/modules/community_tags/community_tags.pages.inc	(revision 32321)
+++ sites/all/modules/community_tags/community_tags.pages.inc	(working copy)
@@ -20,7 +20,7 @@
     '#title' => t('All tags'),
     '#value' => $edit['cloud'],
   );
-  
+
   $access = user_access('tag content');
 
   $form['tags'] = array(
@@ -36,12 +36,12 @@
   if ($edit['inline']) {
     $form['tags']['#size'] = 20;
   }
-  
+
   if (!$access) {
     $destination = drupal_get_destination();
     $form['login'] = array(
       '#type' => 'markup',
-      '#value' => '<div>'. t('<a href="@login">Login</a> or <a href="@register">register</a> to tag items', array('@login' => url('user/login', $destination), '@register' => url('user/register', $destination))) .'</div>',
+      '#value' => '<div>'. t('<a href="@login">Login</a> or <a href="@register">register</a> to tag items', array('@login' => l('user/login', $destination), '@register' => l('user/register', $destination))) .'</div>',
     );
   }
 
@@ -50,12 +50,12 @@
     '#value' => t('Save'),
     '#access' => $access,
   );
-  
+
   $form['node'] = array(
     '#type' => 'value',
     '#value' => $edit['node'],
   );
-  
+
   $form['nid'] = array(
     '#type' => 'value',
     '#value' => $edit['nid'],
@@ -85,7 +85,7 @@
   global $user;
   community_tags_taxonomy_node_save($form_state['values']['node'], array('tags' => array($form_state['values']['vid'] => $form_state['values']['tags'])), FALSE, $user->uid);
 
-  $form_state['redirect'] = 'node/'. $form_state['values']['nid']; 
+  $form_state['redirect'] = 'node/'. $form_state['values']['nid'];
 }
 
 /**
@@ -105,7 +105,7 @@
 }
 
 /**
- * Menu callback: 
+ * Menu callback:
  */
 function community_tags_mypage($uid = NULL) {
   $uid = isset($uid) ? $uid : $GLOBALS['uid'];
