diff options
author | Phy <git@phy25.com> | 2019-01-09 22:51:54 -0500 |
---|---|---|
committer | Phy <git@phy25.com> | 2019-10-20 15:48:07 -0400 |
commit | a9bd2f2f81ebedb678d5dfc3f0a62284b30c48c0 (patch) | |
tree | f5b35d629e7d20f9d598904deeb0f767a46ddbb5 | |
parent | 2b5dd8f4d74e2c8c88f8fd64695d9bc21367e6fa (diff) | |
download | dokuwiki-a9bd2f2f81ebedb678d5dfc3f0a62284b30c48c0.tar.gz dokuwiki-a9bd2f2f81ebedb678d5dfc3f0a62284b30c48c0.zip |
add quotes test for #2517
-rw-r--r-- | _test/tests/lib/exe/css_css_compress.test.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/_test/tests/lib/exe/css_css_compress.test.php b/_test/tests/lib/exe/css_css_compress.test.php index 807317ca6..16947e5a5 100644 --- a/_test/tests/lib/exe/css_css_compress.test.php +++ b/_test/tests/lib/exe/css_css_compress.test.php @@ -71,7 +71,7 @@ class css_css_compress_test extends DokuWikiTest { function test_hack(){ $text = '/* Mac IE will not see this and continue with inline-block */ /* \\*/ - display: inline; + display: inline; /* */'; $this->assertEquals('/* \\*/display:inline;/* */', css_compress($text)); } @@ -138,6 +138,13 @@ class css_css_compress_test extends DokuWikiTest { $this->assertEquals($expect, css_compress($input)); } + function test_quotes() { + $input = '/* "1" */content: "/* 1 : 2 */ 1 : 2";'; + $expect = 'content:"/* 1 : 2 */ 1 : 2";'; + + $this->assertEquals($expect, css_compress($input)); + } + } //Setup VIM: ex: et ts=4 : |