Skip to content

Commit

Permalink
Fix missing message-htmlpart1 class breaking inline CSS (#6493)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Oct 25, 2018
1 parent 36043cb commit d3f2759
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
CHANGELOG Roundcube Webmail
===========================

- Fix missing message-htmlpart1 class breaking inline CSS (#6493)

RELEASE 1.2.9
-------------
- Fix regression where IMAP commands with '*' uidset argument wasn't working
Expand Down
2 changes: 0 additions & 2 deletions program/steps/mail/func.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1467,8 +1467,6 @@ function rcmail_html4inline($body, $container_id, $body_class='', &$attributes=n
),
$body);

$attributes = array();

// Handle body attributes that doesn't play nicely with div elements
$regexp = '/<div class="' . preg_quote($body_class, '/') . '"([^>]*)/';
if (preg_match($regexp, $body, $m)) {
Expand Down

1 comment on commit d3f2759

@mckaygerhard
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

must check if attributes are array and not null.. checked and does not work in special cases

Please sign in to comment.