aboutsummaryrefslogtreecommitdiff
path: root/app/class/Page.php
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2020-05-31 17:44:10 +0200
committern-peugnet <n.peugnet@free.fr>2020-05-31 17:44:10 +0200
commit5b595cfdd6856e08be152be0080bd835b9d73f13 (patch)
tree38862d23235698f2efe260934ad4e483ee796ea3 /app/class/Page.php
parent93e64fd8516a10befbe9a805808b37870a8eeda8 (diff)
downloadwcms-5b595cfdd6856e08be152be0080bd835b9d73f13.tar.gz
wcms-5b595cfdd6856e08be152be0080bd835b9d73f13.zip
fix(render): css was strtolower-ed
html classes or ids can contain uppercase characters
Diffstat (limited to 'app/class/Page.php')
-rw-r--r--app/class/Page.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Page.php b/app/class/Page.php
index e5b84ac..9fccbb7 100644
--- a/app/class/Page.php
+++ b/app/class/Page.php
@@ -487,7 +487,7 @@ class Page extends Dbitem
public function setcss($css)
{
if (strlen($css) < self::LENTEXT and is_string($css)) {
- $this->css = trim(strtolower($css));
+ $this->css = trim($css);
}
}