diff --git a/lib/docs/filters/moment_timezone/entries.rb b/lib/docs/filters/moment_timezone/entries.rb index 8ed604e2..7e2005ea 100644 --- a/lib/docs/filters/moment_timezone/entries.rb +++ b/lib/docs/filters/moment_timezone/entries.rb @@ -9,10 +9,8 @@ module Docs css('[id]').each do |node| if node.name == 'h2' type = node.content - name = "Intro" - else - name = node.content.strip end + name = node.content.strip entries << [name, node['id'], type] end