Skip to content

Commit 90fed11

Browse files
committed
es-toolkit: use U+2063 INVISIBLE SEPARATOR
1 parent 93c3c57 commit 90fed11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/docs/scrapers/es_toolkit.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def internal(filename, path: nil, &block)
3535
type = path.split("/")[0..-2]
3636
type = type.map(&:capitalize).join(" ")
3737
# really bad way to sort
38-
type = type.gsub(/^(Compat|Error)\b/, "~ \\1")
38+
type = type.gsub(/^(Compat|Error)\b/, "\u2063\\1") # U+2063 INVISIBLE SEPARATOR
3939
else
4040
name = type = nil
4141
end

0 commit comments

Comments
 (0)