<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>120469</bug_id>
          
          <creation_ts>2006-01-19 18:40:05 +0000</creation_ts>
          <short_desc>HTML code displays HTML components</short_desc>
          <delta_ts>2006-01-20 11:58:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kopete</product>
          <component>Yahoo Plugin</component>
          <version>0.11</version>
          <rep_platform>Slackware</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dragos Badea">bedeabza</reporter>
          <assigned_to name="Andre Duffeck">duffeck</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>407466</commentid>
    <comment_count>0</comment_count>
    <who name="Dragos Badea">bedeabza</who>
    <bug_when>2006-01-19 18:40:05 +0000</bug_when>
    <thetext>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 &lt;input type=&quot;text&gt; 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&apos;s happening :)

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

  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>407625</commentid>
    <comment_count>3</comment_count>
    <who name="Andre Duffeck">duffeck</who>
    <bug_when>2006-01-20 11:58:09 +0000</bug_when>
    <thetext>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 &lt; and &gt; in text
-	regExp.setPattern( &quot;&lt;(?![\&quot;/fbui])&quot; );
+	regExp.setPattern( &quot;&lt;(?!(/*(font.*|[\&quot;fbui])&gt;))&quot; );
 	pos = 0;
 	while ( pos &gt;= 0 ) {
 		pos = regExp.search( newMsgText, pos );
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>