mirror of
https://github.com/roundcube/roundcubemail.git
synced 2025-12-27 23:45:58 +00:00
CS fix
This commit is contained in:
parent
7c3267b9b0
commit
dc4ffea1d0
@ -303,7 +303,7 @@ class UtilsTest extends TestCase
|
||||
|
||||
$style = "body { content: '< page: ;/style>< page: ;img src onerror=\"alert(\\'hello\\');\">'; color: red; }";
|
||||
$mod = \rcube_utils::mod_css_styles($style, 'rcmbody', true);
|
||||
$this->assertSame("#rcmbody { color: red; }", $mod);
|
||||
$this->assertSame('#rcmbody { color: red; }', $mod);
|
||||
|
||||
// Removing page: property
|
||||
$style = 'body { page: test; color: red }';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user