소스 검색

es-toolkit: use U+2063 INVISIBLE SEPARATOR

Simon Legner 6 달 전
부모
커밋
90fed11831
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/docs/scrapers/es_toolkit.rb

+ 1 - 1
lib/docs/scrapers/es_toolkit.rb

@@ -35,7 +35,7 @@ module Docs
         type = path.split("/")[0..-2]
         type = type.map(&:capitalize).join(" ")
         # really bad way to sort
-        type = type.gsub(/^(Compat|Error)\b/, "~ \\1")
+        type = type.gsub(/^(Compat|Error)\b/, "\u2063\\1") #  U+2063 INVISIBLE SEPARATOR
       else
         name = type = nil
       end