Ver código fonte

es-toolkit: use U+2063 INVISIBLE SEPARATOR

Simon Legner 6 meses atrás
pai
commit
90fed11831
1 arquivos alterados com 1 adições e 1 exclusões
  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