about summary refs log tree commit diff stats
path: root/src/html/dom.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/dom.nim')
-rw-r--r--src/html/dom.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim
index 9880f70d..008a4e8a 100644
--- a/src/html/dom.nim
+++ b/src/html/dom.nim
@@ -809,7 +809,7 @@ proc attr*(element: Element, name, value: string)
 func baseURL*(document: Document): URL
 
 proc tostr(ftype: enum): string =
-  return ($ftype).split('_')[1..^1].join("-").toLowerAscii()
+  return ($ftype).split('_')[1..^1].join('-').toLowerAscii()
 
 func escapeText(s: string, attribute_mode = false): string =
   var nbsp_mode = false