[Svn] [roundcube/roundcubemail] bfe2bc: Fix css styles leak from replied/forwarded message...

Aleksander Machniak noreply at github.com
Sun Jul 7 15:11:05 CEST 2019

  Branch: refs/heads/master
  Home:   https://github.com/roundcube/roundcubemail
  Commit: bfe2bc17d72d3761680b4cb420192934680639bc
  Author: Aleksander Machniak <alec at alec.pl>
  Date:   2019-07-07 (Sun, 07 Jul 2019)

  Changed paths:
    M program/steps/mail/compose.inc
    M program/steps/mail/func.inc
    M program/steps/mail/show.inc
    M tests/MailFunc.php

  Log Message:
  Fix css styles leak from replied/forwarded message to the rest of the composed text (#6831)

Generally do the same with styles what we do on message preview.

This also fixes small bugs in handling styles:
- fix so <style> tag on the start of the HTML content is not ignored
- fix so body's background/bgcolor attributes are applied to the container (regression)

More information about the svn mailing list