[PATCH] khtml_part.cpp: missing end tag in messagebox
David Faure
dfaure at klaralvdalens-datakonsult.se
Sun Feb 2 12:09:57 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday 01 February 2003 19:44, Melchior FRANZ wrote:
> Hi,
>
> I just came across an error message with missing </qt> tag. Or should
> the preceding <qt> be deleted instead? Unfortunately, this doesn't seem
> to be documented, at least not in [qk]messagebox.{cpp,h}. And there are
> no reliable reference files. Some people use surrounding <qt> tags for
> messages with HTML code, others only use <p>..</p> (for example
> kdelibs/kdeui/tests/kmessageboxtest.cpp) and the rest happily uses HTML
> in messages without any surrounding tag. What's the right thing to do?
The right thing to do is to start with <qt> when you want richtext. This
tells Qt about it. (People not using it, but still using some richtext tags,
rely on some autodetection done by Qt, which can suddenly fail if the
first richtext tag is too far away from the beginning of the string...)
Does the missing </qt> really create any trouble? I don't think it matters at all.
- --
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Klarälvdalens Datakonsult AB, Platform-independent software solutions
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2.1 is available - http://download.kde.org/stable/koffice-1.2.1/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+PQqV72KcVAmwbhARAtfOAJ9xOh6aubsCzkSw09KrH7aLBUCWNwCeIKkQ
XekKgBT5HipPFzLNqgGWfb0=
=c8+D
-----END PGP SIGNATURE-----
More information about the kfm-devel
mailing list