summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-11-13 18:08:52 +0100
committerAleksander Machniak <alec@alec.pl>2012-11-13 18:08:52 +0100
commitd9698de979f6d30b5126472edd4af60c43aba870 (patch)
treebdc8e53ce705dee62b1137a973d005c67f284cd5
parentf410c902613e3e1f0d57c71b1065b69232ba92eb (diff)
Fix handling of 'media' attribute on linked css (#1488789)
-rw-r--r--CHANGELOG1
-rw-r--r--program/lib/washtml.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 0a6e1c9e4..dc2d182cf 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Fix handling of 'media' attribute on linked css (#1488789)
- Fix excessive LFs at the end of composed message with top_posting=true (#1488797)
- Option to display attached images as thumbnails below message body
- Fix bug where leading blanks were stripped from quoted lines (#1488795)
diff --git a/program/lib/washtml.php b/program/lib/washtml.php
index d5cdb82f8..0d4ffdb4b 100644
--- a/program/lib/washtml.php
+++ b/program/lib/washtml.php
@@ -102,7 +102,7 @@ class washtml
'cellpadding', 'valign', 'bgcolor', 'color', 'border', 'bordercolorlight',
'bordercolordark', 'face', 'marginwidth', 'marginheight', 'axis', 'border',
'abbr', 'char', 'charoff', 'clear', 'compact', 'coords', 'vspace', 'hspace',
- 'cellborder', 'size', 'lang', 'dir', 'usemap', 'shape',
+ 'cellborder', 'size', 'lang', 'dir', 'usemap', 'shape', 'media',
// attributes of form elements
'type', 'rows', 'cols', 'disabled', 'readonly', 'checked', 'multiple', 'value'
);