mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-14 17:47:21 +01:00
Line.
This commit is contained in:
parent
7029db6139
commit
62b248a7bc
@ -209,6 +209,7 @@ QString MessagePreviewer::prepareHtmlForMessage(const Message &message) {
|
||||
QRegExp imgTagRegex("\\<img[^\\>]*src\\s*=\\s*\"([^\"]*)\"[^\\>]*\\>", Qt::CaseInsensitive);
|
||||
|
||||
imgTagRegex.setMinimal(true);
|
||||
|
||||
while( (offset = imgTagRegex.indexIn(message.m_contents, offset)) != -1){
|
||||
offset += imgTagRegex.matchedLength();
|
||||
html += QString("[%2] <a href=\"%1\">%1</a><br/>").arg(imgTagRegex.cap(1), tr("image"));
|
||||
|
Loading…
Reference in New Issue
Block a user