mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-07 12:57:14 +00:00
(fix) manually added fixes from PR#120
This commit is contained in:
1 parent
edebdf1171
commit
5f82d3fb37
16 files changed
+269
-100
No files matched your search
@@ -268,6 +268,9 @@ def asCSSIdentifier(inputString):
|
||||
|
||||
newChars = []
|
||||
|
||||
if str.isdigit(inputString[0]):
|
||||
newChars.append("_")
|
||||
|
||||
for c in inputString:
|
||||
if c in cssEscapingCharMap:
|
||||
newChars.append(cssEscapingCharMap[c])
|
||||
|
||||
Reference in new issue
Block a user