Fix #267.
This commit is contained in:
parent
77051f9de6
commit
70f8ee92c2
1 changed files with 3 additions and 3 deletions
|
@ -102,10 +102,10 @@ void FeedDownloader::updateOneFeed(Feed* feed) {
|
|||
msg.m_author = msg.m_author.toUtf8();
|
||||
msg.m_accountId = acc_id;
|
||||
|
||||
// Sanitize title. Remove newlines etc.
|
||||
msg.m_title = QUrl::fromPercentEncoding(msg.m_title.toUtf8())
|
||||
// Sanitize title.
|
||||
msg.m_title = msg.m_title
|
||||
|
||||
// Replace all continuous white space.
|
||||
// Shrink consecutive whitespaces.
|
||||
.replace(QRegularExpression(QSL("[\\s]{2,}")), QSL(" "))
|
||||
|
||||
// Remove all newlines and leading white space.
|
||||
|
|
Loading…
Add table
Reference in a new issue