fix some enclosure list in lite skin

This commit is contained in:
Martin Rotter 2023-12-13 09:04:20 +01:00
parent dc701cea1d
commit 9be4c2c489
4 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
&#32;&#47;&nbsp;<a class="menc" href="%1"><span style="display:none"><!-- Cannot be removed -->%2</span><span style="text-transform: uppercase;">%3</span></a>
&#32;&#47;&nbsp;<a class="menc" href="%1"><span style="text-transform: uppercase;">%2</span></a>

View File

@ -1 +1 @@
&nbsp;<span>%2</span>&nbsp;<a href="%1"><span style="text-transform: uppercase;">%3</span></a>
&nbsp;&#47;&nbsp;<a href="%1"><span style="text-transform: uppercase;">%2</span></a>

View File

@ -3,7 +3,7 @@
<div>
<div>%7</div>
<span>%2</span>
<h2>%1<span>%6<span>&nbsp;&nbsp;<a href="%3">URL</a></span></h2>
<h2>%1<span>%6</span>&nbsp;&#47;&nbsp;<a href="%3">URL</a></h2>
<span>%5</span>
</div>

View File

@ -255,7 +255,7 @@ PreparedHtml SkinFactory::generateHtmlOfArticles(const QList<Message>& messages,
for (const Enclosure& enclosure : message.m_enclosures) {
QString enc_url = QUrl::fromPercentEncoding(enclosure.m_url.toUtf8());
enclosures += skin.m_enclosureMarkup.arg(enc_url, QSL("&#129527;"), enclosure.m_mimeType);
enclosures += skin.m_enclosureMarkup.arg(enc_url, enclosure.m_mimeType);
if (qApp->settings()->value(GROUP(Messages), SETTING(Messages::DisplayEnclosuresInMessage)).toBool()) {
if (enclosure.m_mimeType.startsWith(QSL("image/")) &&