Przeglądaj źródła

postgresaql: fix trailing space in entry names

Simon Legner 1 rok temu
rodzic
commit
217b9aea41
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lib/docs/filters/postgresql/entries.rb

+ 1 - 1
lib/docs/filters/postgresql/entries.rb

@@ -56,7 +56,7 @@ module Docs
         elsif PREPEND_TYPES.include?(type) || type.start_with?('Internals')
           "#{type.remove('Internals: ')}: #{base_name}"
         else
-          REPLACE_NAMES[base_name] || base_name
+          REPLACE_NAMES[base_name] || base_name.strip
         end
       end