On Sat, Aug 31, 2002 at 10:58:11AM +0200, Thomas Reitelbach wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Friday 30 August 2002 22:46, Ilya Konstantinov wrote:
> > Hi,
> >
> > I've recently introduced URL highlighting in the Qt3 / KDE3 plugin for
> > licq. Unfortunatelly, there seems to be a bug in QTextBrowser which
> > will cause incorrect URLs to open for any URL which requires escaping
> > special HTML characters. This includes all URLs with the "&" sign in
> > them. I'm currently looking for a solution. This would either be:
> >
> > 1. Something Trolltech would suggest (I've mailed qt-bugs about it).
> > 2. Writing a decoder for HTML entities (& and others).
> > 3. Using a URL-encoded form of the URL in the HREF part, which will
> > have characters such as & in a safe %xx form (thus, avoid having them
> > HTML-encoded).
> 
> Did you get a response from trolltech regarding your bugreport?

I did today.

> IMHO, if this really is a QT bug, then i would suggest let it be fixed at it's 
> root (qt).

Its fixed in the Qt snapshots and everything would be correct when
running on a Qt snapshot version, or the next version of Qt.

> any other solution would mean to introduce new code which will be redundant 
> shortly...

It is possible to implement a fix for older versions by checking for
them in runtime and using a function from QTextDocument (a private class,
not in the public API). Is it worth the bother though?


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to