[pim/kdepim-addons] kmail/editorconvertertextplugins/markdown/markdownlib: Fix argument

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 8de176ce74d203cee6a824c3b116bb1636130010 by Laurent Montel.
Committed on 16/08/2026 at 07:36.
Pushed by mlaurent into branch 'master'.

Fix argument

M  +1    -1    kmail/editorconvertertextplugins/markdown/markdownlib/markdowncreateimagewidget.cpp

https://invent.kde.org/pim/kdepim-addons/-/commit/8de176ce74d203cee6a824c3b116bb1636130010

diff --git a/kmail/editorconvertertextplugins/markdown/markdownlib/markdowncreateimagewidget.cpp b/kmail/editorconvertertextplugins/markdown/markdownlib/markdowncreateimagewidget.cpp
index f4a84a3c9..79169c8cc 100644
--- a/kmail/editorconvertertextplugins/markdown/markdownlib/markdowncreateimagewidget.cpp
+++ b/kmail/editorconvertertextplugins/markdown/markdownlib/markdowncreateimagewidget.cpp
@@ -107,7 +107,7 @@ QString MarkdownCreateImageWidget::linkStr() const
         imageText += defineSize;
     }
     if (!mAlternateText->text().trimmed().isEmpty()) {
-        return QStringLiteral("![%1](%2 \"%3\")").arg(mTitle->text().trimmed(), imageText, mAlternateText->text().trimmed());
+        return QStringLiteral("![%3](%2 \"%1\")").arg(mTitle->text().trimmed(), imageText, mAlternateText->text().trimmed());
     } else {
         return QStringLiteral("![%1](%2)").arg(mTitle->text().trimmed(), imageText);
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.