Index: includes/content.token.inc
===================================================================
--- includes/content.token.inc	(revision 257)
+++ includes/content.token.inc	(working copy)
@@ -91,16 +91,16 @@
 
   function nodereference_token_values($type, $object = NULL) {
     if ($type == 'field') {
-      $item = $object[0];
 
-      $title = is_numeric($item['nid']) ? _nodereference_titles($item['nid']) : '';
-      $tokens['nid']   = $item['nid'];
-      $tokens['title'] = $title ? check_plain($title) : '';
-      $tokens['title-raw'] = $title;
-      $tokens['link']  = isset($item['view']) ? $item['view'] : '';
-      $tokens['path'] = is_numeric($item['nid']) ? url('node/' . $item['nid']) : '';
-      $tokens['url'] = is_numeric($item['nid']) ? url('node/' . $item['nid'], array('absolute' => TRUE)) : '';
+      $node = node_load($object[0]['nid']);
 
+      $tokens['nid']   = $node->nid;
+      $tokens['title'] = isset($node->title) ? strip_tags($node->title) : '';
+      $tokens['title-raw'] = $node->title;
+      $tokens['link']  = isset($node->view) ? $node->view : '';
+      $tokens['path'] = url('node/' . $node->nid);
+      $tokens['url'] = url('node/' . $node->nid, array('absolute' => TRUE));
+
       return $tokens;
     }
   }
