From 84f5b78c6d885e2a3b9f17fdb12e220d948dceaa Mon Sep 17 00:00:00 2001
From: svncommit <devs@roundcube.net>
Date: Mon, 12 May 2008 21:47:44 -0400
Subject: [PATCH] remove code obsoleted by fix to parse_attrib_string

---
 program/steps/mail/func.inc |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 073950a..ec594bc 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1175,9 +1175,8 @@
 // parse link attributes and set correct target
 function rcmail_alter_html_link($tag, $attrs, $container_id)
   {
-  $in = preg_replace('/=([^("|\'|\s)]+)(\s|$)/', '="\1"', $in);
   $attrib = parse_attrib_string($attrs);
-  
+
   if ($tag == 'link' && preg_match('/^https?:\/\//i', $attrib['href']))
     $attrib['href'] = "./bin/modcss.php?u=" . urlencode($attrib['href']) . "&amp;c=" . urlencode($container_id);
 
@@ -1186,7 +1185,7 @@
       "return %s.command('compose','%s',this)",
       JS_OBJECT_NAME,
       JQ(substr($attrib['href'], 7)));
-  
+
   else if (!empty($attrib['href']) && $attrib['href']{0}!='#')
     $attrib['target'] = '_blank';
 

--
Gitblit v1.9.1