diff options
author | brad2014 <brad2014@users.noreply.github.com> | 2018-10-30 15:26:16 -0700 |
---|---|---|
committer | brad2014 <brad2014@users.noreply.github.com> | 2018-10-30 15:28:55 -0700 |
commit | 3442ffeb54a845572f38ba6e80c3828af60f3ea5 (patch) | |
tree | ca471e73203ba4bb0e1a97da3958f4387ff1cf7f /lib/private/Mail | |
parent | 1293affc84db2e9e2ea127bb1dd44faaa85f9797 (diff) | |
download | nextcloud-server-3442ffeb54a845572f38ba6e80c3828af60f3ea5.tar.gz nextcloud-server-3442ffeb54a845572f38ba6e80c3828af60f3ea5.zip |
Fix bug #12151: fix list formatting by correcting malformed html
Signed-off-by: Brad Rubenstein <brad@wbr.tech>
Diffstat (limited to 'lib/private/Mail')
-rw-r--r-- | lib/private/Mail/EMailTemplate.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php index 4c56a316042..05a884a67fa 100644 --- a/lib/private/Mail/EMailTemplate.php +++ b/lib/private/Mail/EMailTemplate.php @@ -185,12 +185,13 @@ EOF; </table> EOF; + // note: listBegin (like bodyBegin) is not processed through sprintf, so "%" is not escaped as "%%". (bug #12151) protected $listBegin = <<<EOF -<table class="row description" style="border-collapse:collapse;border-spacing:0;display:table;padding:0;position:relative;text-align:left;vertical-align:top;width:100%%"> +<table class="row description" style="border-collapse:collapse;border-spacing:0;display:table;padding:0;position:relative;text-align:left;vertical-align:top;width:100%"> <tbody> <tr style="padding:0;text-align:left;vertical-align:top"> <th class="small-12 large-12 columns first last" style="Margin:0 auto;color:#0a0a0a;font-family:Lucida Grande,Geneva,Verdana,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0 auto;padding:0;padding-bottom:30px;padding-left:30px;padding-right:30px;text-align:left;width:550px"> - <table style="border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%%"> + <table style="border-collapse:collapse;border-spacing:0;padding:0;text-align:left;vertical-align:top;width:100%"> EOF; protected $listItem = <<<EOF |