diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index ce0d5c37..efa00877 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -117,7 +117,7 @@ credits = [ 'https://raw.githubusercontent.com/petkaantonov/bluebird/master/LICENSE' ], [ 'Bootstrap', - '2011-2017 Twitter, Inc.
2011-2017 The Bootstrap Authors', + '2011-2018 Twitter, Inc.
2011-2018 The Bootstrap Authors', 'CC BY', 'https://creativecommons.org/licenses/by/3.0/' ], [ diff --git a/lib/docs/filters/bootstrap/clean_html_v4.rb b/lib/docs/filters/bootstrap/clean_html_v4.rb index 0974556e..c7354f13 100644 --- a/lib/docs/filters/bootstrap/clean_html_v4.rb +++ b/lib/docs/filters/bootstrap/clean_html_v4.rb @@ -17,6 +17,8 @@ module Docs end css('.bd-example', '.responsive-utilities-test').each do |node| + next unless node.previous_element + if node.previous_element['class'].try(:include?, 'bd-example') node.remove else diff --git a/lib/docs/scrapers/bootstrap.rb b/lib/docs/scrapers/bootstrap.rb index 3653bb2d..859998a9 100644 --- a/lib/docs/scrapers/bootstrap.rb +++ b/lib/docs/scrapers/bootstrap.rb @@ -9,14 +9,14 @@ module Docs options[:trailing_slash] = true options[:attribution] = <<-HTML - © 2011–2017 Twitter, Inc.
- © 2011–2017 The Bootstrap Authors
+ © 2011–2018 Twitter, Inc.
+ © 2011–2018 The Bootstrap Authors
Code licensed under the MIT License.
Documentation licensed under the Creative Commons Attribution License v3.0. HTML version '4' do - self.release = '4.0.0-beta.3' + self.release = '4.0.0' self.base_url = 'https://getbootstrap.com/docs/4.0/' self.root_path = 'getting-started/introduction/'