[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 85693] String.link() function does not correctly quote the url.
From:       Pascal "Létourneau" <pletourn () globetrotter ! net>
Date:       2004-09-30 19:58:09
Message-ID: 20040930195809.16498.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=85693        
pletourn globetrotter net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From pletourn globetrotter net  2004-09-30 21:58 -------
CVS commit by pletourn: 

Missing quotation in attributes
CCMAIL:85693-done bugs kde org


  M +4 -4      string_object.cpp   1.85.4.1


--- kdelibs/kjs/string_object.cpp  #1.85:1.85.4.1
 @ -543,17 +543,17  @ Value StringProtoFuncImp::call(ExecState
     break;
   case Fontcolor:
-    result = String("<FONT COLOR=" + a0.toString(exec) + ">"
+    result = String("<FONT COLOR=\"" + a0.toString(exec) + "\">"
                     + s + "</FONT>");
     break;
   case Fontsize:
-    result = String("<FONT SIZE=" + a0.toString(exec) + ">"
+    result = String("<FONT SIZE=\"" + a0.toString(exec) + "\">"
                     + s + "</FONT>");
     break;
   case Anchor:
-    result = String("<a name=" + a0.toString(exec) + ">"
+    result = String("<a name=\"" + a0.toString(exec) + "\">"
                     + s + "</a>");
     break;
   case Link:
-    result = String("<a href=" + a0.toString(exec) + ">"
+    result = String("<a href=\"" + a0.toString(exec) + "\">"
                     + s + "</a>");
     break;
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic