+2004-01-29 Hideki Ikemoto <ikemo@users.sourceforge.jp>
+
+ * fix: break favorites when thread name has '<' or '>' or '&'.
+
2004-01-28 Hideki Ikemoto <ikemo@users.sourceforge.jp>
* unescape thread name.
#include <kdebug.h>
+#include <qstylesheet.h>
+
#include "threadinfo.h"
FavoriteThreads* FavoriteThreads::instance = 0;
m_inThread = false;
m_threadParser->endElement( namespaceURI, localName, qName );
Kita::Thread* thread = m_threadParser->getThread();
- Kita::Thread::setName( thread->datURL(), thread->name() );
+ Kita::Thread::setName( thread->datURL(), QStyleSheet::escape( thread->name() ) );
m_threadList.append( Kita::Thread::getByURL( thread->datURL() ) );
KitaThreadInfo::setResNum( thread->datURL(), thread->resNum() );