summaryrefslogtreecommitdiffstats
path: root/tests/Settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-07-19 11:19:19 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-07-23 23:15:21 +0200
commita98f57ebd0f6ebd2b715d95e85c33482ba629d7d (patch)
treeb67b0928a9d40cd1a422f9da4ee3a936173ec953 /tests/Settings
parent8e6b707d2f87e91f0ef3408aca16acebcba9f7a8 (diff)
downloadnextcloud-server-a98f57ebd0f6ebd2b715d95e85c33482ba629d7d.tar.gz
nextcloud-server-a98f57ebd0f6ebd2b715d95e85c33482ba629d7d.zip
Set max-width of image to 100px in Outlook as well
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/Settings')
-rw-r--r--tests/Settings/Mailer/NewUserMailHelperTest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Settings/Mailer/NewUserMailHelperTest.php b/tests/Settings/Mailer/NewUserMailHelperTest.php
index a8b67278e77..cee3b15b946 100644
--- a/tests/Settings/Mailer/NewUserMailHelperTest.php
+++ b/tests/Settings/Mailer/NewUserMailHelperTest.php
@@ -182,7 +182,10 @@ class NewUserMailHelperTest extends TestCase {
<tbody>
<tr style="padding:0;text-align:left;vertical-align:top">
<center data-parsed="" style="min-width:580px;width:100%">
+ <!-- convince Outlook to have a max-width of 100px -->
+ <!--[if mso]><table><tr><td width="100"><![endif]-->
<img class="logo float-center" src="" alt="TestCloud" align="center" style="-ms-interpolation-mode:bicubic;Margin:0 auto;clear:both;display:block;float:none;margin:0 auto;max-height:100%;max-width:100px;outline:0;text-align:center;text-decoration:none;width:auto">
+ <!--[if mso]></td></tr></table><![endif]-->
</center>
</tr>
</tbody>
@@ -415,7 +418,10 @@ EOF;
<tbody>
<tr style="padding:0;text-align:left;vertical-align:top">
<center data-parsed="" style="min-width:580px;width:100%">
+ <!-- convince Outlook to have a max-width of 100px -->
+ <!--[if mso]><table><tr><td width="100"><![endif]-->
<img class="logo float-center" src="" alt="TestCloud" align="center" style="-ms-interpolation-mode:bicubic;Margin:0 auto;clear:both;display:block;float:none;margin:0 auto;max-height:100%;max-width:100px;outline:0;text-align:center;text-decoration:none;width:auto">
+ <!--[if mso]></td></tr></table><![endif]-->
</center>
</tr>
</tbody>