Bug 120469 - HTML code displays HTML components
Summary: HTML code displays HTML components
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: Yahoo Plugin (show other bugs)
Version: 0.11
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Andre Duffeck
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-19 18:40 UTC by Dragos Badea
Modified: 2006-01-20 11:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dragos Badea 2006-01-19 18:40:05 UTC
Version:           0.11 (using KDE KDE 3.5.0)
Installed from:    Slackware Packages
Compiler:          gcc 3.3.4 
OS:                Linux

If you paste html code that contains a <input type="text> for example, kopete will not display the html code, but it will display a the UI element.
I have 2 links to screenshots that will make you understand perfectly what's happening :)

http://www.x3d.ro/kde/bug1.jpg
http://www.x3d.ro/kde/bug2.jpg
Comment 1 Andre Duffeck 2006-01-20 11:35:39 UTC
Looking at the screenshots i guess this applies to the Yahoo plugin.
Comment 2 Dragos Badea 2006-01-20 11:48:56 UTC
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#333333">
<small><font face="Verdana">Yes, it happens only with the Yahoo! plugin.<br>
I'm using kopete for Gtalk too, but on Gtalk everything is ok.<br>
<br>
If you want more help, screenshots, details, I'm allways here for help.<br>
<br>
<b>Dragos Badea</b></font></small><br>
<br>
<hr size="2" width="100%"><br>
Andre Duffeck wrote:
<blockquote cite="mid20060120103540.28208.qmail@ktown.kde.org"
 type="cite">
  <pre wrap="">------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
         
<a class="moz-txt-link-freetext" href="http://bugs.kde.org/show_bug.cgi?id=120469">http://bugs.kde.org/show_bug.cgi?id=120469</a>         
andre duffeck de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|kopete-devel kde org        |andre duffeck de
             Status|UNCONFIRMED                 |ASSIGNED
          Component|general                     |Yahoo Plugin
      everconfirmed|0                           |1



------- Additional Comments From andre duffeck de  2006-01-20 11:35 -------
Looking at the screenshots i guess this applies to the Yahoo plugin.

  </pre>
</blockquote>
<br>
</body>
</html>
Comment 3 Andre Duffeck 2006-01-20 11:58:09 UTC
SVN commit 500475 by duffeck:

fix html-escape regexp.
BUG:120469


 M  +1 -1      yahooaccount.cpp  


--- branches/KDE/3.5/kdenetwork/kopete/protocols/yahoo/yahooaccount.cpp #500474:500475
@@ -772,7 +772,7 @@
 	}
 				
 	// Replace < and > in text
-	regExp.setPattern( "<(?![\"/fbui])" );
+	regExp.setPattern( "<(?!(/*(font.*|[\"fbui])>))" );
 	pos = 0;
 	while ( pos >= 0 ) {
 		pos = regExp.search( newMsgText, pos );