Vote #78776
未完了Wrong CSS class for themes if its name includes "_" or " "
ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Themes_38
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:
0%
予定工数:
Redmineorg_URL:
category_id:
38
version_id:
0
issue_org_id:
26778
author_id:
332
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
説明
The body element in HTML has CSS classes correspond to the current theme, project, controller and action.
But "theme-*" class name is broken when the directory name of the theme includes "_" or " ". Assume that you have installed a theme whose directory name is "foo_bar". Redmine will generate a class name "theme-Foo bar". But it is clearly broken because a whitespace is used as a separater.
Here is an example.
journals
--------------------------------------------------------------------------------
いいね!0