summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Knauß <[email protected]>2016-06-04 14:07:18 +0200
committerSandro Knauß <[email protected]>2016-06-04 19:16:40 +0200
commitb87f2c7137a702f5822b720342a9d87e59a4e0fc (patch)
treed3f43df64f11551981986924a51b58eb8b1559d8
parent4863d7b01dacc46ebb1a93dd6400c9281b4a745c (diff)
fix links so that the html is valid
-rw-r--r--messageviewer/src/messagepartthemes/default/templates/htmlmessagepart.html4
-rw-r--r--messageviewer/src/messagepartthemes/default/templates/signedmessagepart.html6
2 files changed, 5 insertions, 5 deletions
diff --git a/messageviewer/src/messagepartthemes/default/templates/htmlmessagepart.html b/messageviewer/src/messagepartthemes/default/templates/htmlmessagepart.html
index 917f911..017ca93 100644
--- a/messageviewer/src/messagepartthemes/default/templates/htmlmessagepart.html
+++ b/messageviewer/src/messagepartthemes/default/templates/htmlmessagepart.html
@@ -1,9 +1,9 @@
{% if not block.htmlMail or not block.loadExternal and block.containsExternalReferences %}
<div class="htmlWarn">
{% if not block.htmlMail %}
- {% i18n_var '<b>Note:</b> This is an HTML message. For security reasons, only the raw HTML code is shown. If you trust the sender of this message then you can activate formatted HTML display for this message <a href=kmail:showHTML>by clicking here</a>.' as msg %}
+ {% i18n_var '<b>Note:</b> This is an HTML message. For security reasons, only the raw HTML code is shown. If you trust the sender of this message then you can activate formatted HTML display for this message <a href="kmail:showHTML">by clicking here</a>.' as msg %}
{% elif not block.loadExternal and block.containsExternalReferences %}
- {% i18n_var '<b>Note:</b> This HTML message may contain external references to images etc. For security/privacy reasons external references are not loaded. If you trust the sender of this message then you can load the external references for this message <a href=kmail:loadExternal>by clicking here</a>.' as msg %}
+ {% i18n_var '<b>Note:</b> This HTML message may contain external references to images etc. For security/privacy reasons external references are not loaded. If you trust the sender of this message then you can load the external references for this message <a href="kmail:loadExternal">by clicking here</a>.' as msg %}
{% endif %}
{{ msg|safe }}
</div>
diff --git a/messageviewer/src/messagepartthemes/default/templates/signedmessagepart.html b/messageviewer/src/messagepartthemes/default/templates/signedmessagepart.html
index 0f4105f..a96d06c 100644
--- a/messageviewer/src/messagepartthemes/default/templates/signedmessagepart.html
+++ b/messageviewer/src/messagepartthemes/default/templates/signedmessagepart.html
@@ -128,7 +128,7 @@
{% endif %}
{% endif %}
</td>
- <td align="right" valign="top" nowrap="nowrap"><a href=kmail:hideSignatureDetails>{% i18n "Hide Details" %}</a></td>
+ <td align="right" valign="top" nowrap="nowrap"><a href="kmail:hideSignatureDetails">{% i18n "Hide Details" %}</a></td>
</tr>
<tr>
<td align="right" valign="bottom" nowrap="nowrap">{{block.auditlog}}</td>
@@ -140,7 +140,7 @@
{% i18n "Not enough information to check signature validity." %}
{% elif block.signClass == "signOkKeyOk" %}
{% if block.addr %}
- {% i18n_var "Signed by <a href=mailto:%1>%2</a>." block.addr block.addr as signed %}
+ {% i18n_var 'Signed by <a href="mailto:%1">%2</a>.' block.addr block.addr as signed %}
{{ signed|safe }}
{% else %}
{% i18n "Signature is valid." %}
@@ -150,7 +150,7 @@
{% endif %}
</td>
{% if not block.printing %}
- <td align="right"><a href=kmail:showSignatureDetails>{% i18n "Show Details" %}</a></td>
+ <td align="right"><a href="kmail:showSignatureDetails">{% i18n "Show Details" %}</a></td>
{% endif %}
{% endif %}
</tr>