revuo: trim link

This commit is contained in:
tobtoht 2023-10-20 00:00:36 +02:00
parent 5981833446
commit c713ec9696
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -38,7 +38,7 @@ void RevuoWidget::updateItems(const QList<QSharedPointer<RevuoItem>> &items) {
for (const auto &newsbyte : item->newsbytes) { for (const auto &newsbyte : item->newsbytes) {
text += "<p> • " + newsbyte + "</p>\n"; text += "<p> • " + newsbyte + "</p>\n";
} }
text += QString("<br>\n<a href=\"%1\">Read the whole issue in your browser</a>").arg(item->url); text += QString("<br>\nRead the whole issue in your <a href=\"%1\">browser</a>.").arg(item->url);
text += "<br><br>\nEnjoy Revuo? Consider a <a href=\"feather://donate-revuo\">donation</a> to the author."; text += "<br><br>\nEnjoy Revuo? Consider a <a href=\"feather://donate-revuo\">donation</a> to the author.";
m_items[item->title] = text; m_items[item->title] = text;