Index: handlers/views_handler_field_url.inc
===================================================================
--- handlers/views_handler_field_url.inc	(revision 362)
+++ handlers/views_handler_field_url.inc	(working copy)
@@ -34,7 +34,10 @@
   function render($values) {
     $value = $this->get_value($values);
     if (!empty($this->options['display_as_link'])) {
-      return l($this->sanitize_value($value), $value, array('html' => TRUE));
+      $this->options['alter']['make_link'] = TRUE;
+      $this->options['alter']['path'] = $value;
+      $text = !empty($this->options['text']) ? $this->options['text'] : $this->sanitize_value($value);
+      return $text;
     }
     else {
       return $this->sanitize_value($value, 'url');
