Simon Legner 3 лет назад
Родитель
Сommit
c3bce85947
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/docs/filters/elixir/entries.rb

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

@@ -5,7 +5,7 @@ module Docs
         css('h1 .app-vsn').remove
 
         if current_url.path.start_with?('/getting-started')
-          at_css('h1').content.strip.remove(/\.\z/)
+          (at_css('h1 > span') or at_css('h1')).content.strip.remove(/\.\z/)
         else
           name = at_css('h1').content.strip
           name = name.split(' ').first unless name.start_with?('mix ') # ecto