Extraneous text

merge-requests/30/head
Bob Mottram 2021-12-05 16:11:16 +00:00
parent d4ab93a37f
commit 85040d9d9f
1 changed files with 2 additions and 0 deletions

View File

@ -240,6 +240,8 @@ def htmlThemeDesigner(cssCache: {}, baseDir: str,
if variableName.endswith('-color') or \
variableName.endswith('-text'):
variableNameStr = variableName.replace('-', ' ')
if variableNameStr.endswith(' color'):
variableNameStr = variableNameStr.replace(' color', '')
themeForm += \
' <tr><td><label class="labels">' + \
variableNameStr + '</label></td>'