diff --git a/src/librssguard/gui/webviewers/qtextbrowser/textbrowserviewer.cpp b/src/librssguard/gui/webviewers/qtextbrowser/textbrowserviewer.cpp
index 5a5e7e003..05d961772 100644
--- a/src/librssguard/gui/webviewers/qtextbrowser/textbrowserviewer.cpp
+++ b/src/librssguard/gui/webviewers/qtextbrowser/textbrowserviewer.cpp
@@ -418,9 +418,10 @@ void TextBrowserViewer::onAnchorClicked(const QUrl& url) {
void TextBrowserViewer::setHtml(const QString& html, const QUrl& base_url) {
if (m_resourcesEnabled) {
+ // NOTE: This regex is problematic as it does not work for ALL
+ // HTMLs, maybe use XML parsing to extract what we need?
static QRegularExpression img_tag_rgx("\\]*src\\s*=\\s*[\"\']([^\"\']*)[\"\'][^\\>]*\\>",
- QRegularExpression::PatternOption::CaseInsensitiveOption |
- QRegularExpression::PatternOption::InvertedGreedinessOption);
+ QRegularExpression::PatternOption::CaseInsensitiveOption);
QRegularExpressionMatchIterator i = img_tag_rgx.globalMatch(html);
QList found_resources;