diff options
author | bptato <nincsnevem662@gmail.com> | 2024-02-09 17:52:41 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-02-09 17:54:32 +0100 |
commit | 7badcc1f952c085c6a73e2dbe3aa5a460d7be8b0 (patch) | |
tree | 0b6cdc9c1895329946df9f21508ee1539c2cfc57 /src/css | |
parent | 431fd101705146f2d4baaa1a4a139adf356188ab (diff) | |
download | chawan-7badcc1f952c085c6a73e2dbe3aa5a460d7be8b0.tar.gz |
twtstr: misc refactorings
* move out half width <-> full width converters * snake_case -> camelCase * improve toScreamingSnakeCase slicing
Diffstat (limited to 'src/css')
-rw-r--r-- | src/css/values.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css/values.nim b/src/css/values.nim index ddde8953..0bf57675 100644 --- a/src/css/values.nim +++ b/src/css/values.nim @@ -502,7 +502,7 @@ func listMarker*(t: CSSListStyleType, i: int): string = of LIST_STYLE_TYPE_DISCLOSURE_CLOSED: return "▼ " # U+25BC of LIST_STYLE_TYPE_DECIMAL: return $i & ". " of LIST_STYLE_TYPE_UPPER_ROMAN: return romanNumber(i) & ". " - of LIST_STYLE_TYPE_LOWER_ROMAN: return romanNumber_lower(i) & ". " + of LIST_STYLE_TYPE_LOWER_ROMAN: return romanNumberLower(i) & ". " of LIST_STYLE_TYPE_UPPER_ALPHA: return numToBase(i, UpperAlphaMap) & ". " of LIST_STYLE_TYPE_LOWER_ALPHA: return numToBase(i, LowerAlphaMap) & ". " of LIST_STYLE_TYPE_LOWER_GREEK: return numToBase(i, LowerGreekMap) & ". " |