diff options
Diffstat (limited to 'src/layout/engine.nim')
-rw-r--r-- | src/layout/engine.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/layout/engine.nim b/src/layout/engine.nim index d51c555b..ba073c27 100644 --- a/src/layout/engine.nim +++ b/src/layout/engine.nim @@ -881,9 +881,9 @@ iterator transform(text: seq[string]; v: CSSTextTransform): string {.inline.} = else: for str in text: let str = case v - of TextTransformCapitalize: str.capitalize() - of TextTransformUppercase: str.toUpper() - of TextTransformLowercase: str.toLower() + of TextTransformCapitalize: str.capitalizeLU() + of TextTransformUppercase: str.toUpperLU() + of TextTransformLowercase: str.toLowerLU() of TextTransformFullWidth: str.fullwidth() of TextTransformFullSizeKana: str.fullsize() of TextTransformChaHalfWidth: str.halfwidth() |