diff --git a/lib/docs/filters/core/attribution.rb b/lib/docs/filters/core/attribution.rb
index 44716093..7f10fa9f 100644
--- a/lib/docs/filters/core/attribution.rb
+++ b/lib/docs/filters/core/attribution.rb
@@ -13,7 +13,7 @@ module Docs
<<-HTML.strip_heredoc
- #{attribution.delete "\n"}
+ #{attribution.strip_heredoc.delete "\n"}
#{attribution_link}
diff --git a/lib/docs/scrapers/backbone.rb b/lib/docs/scrapers/backbone.rb
index 8a618867..1f39ed9a 100644
--- a/lib/docs/scrapers/backbone.rb
+++ b/lib/docs/scrapers/backbone.rb
@@ -12,7 +12,7 @@ module Docs
options[:container] = '.container'
options[:skip_links] = -> (_) { true }
- options[:attribution] = <<-HTML.strip_heredoc
+ options[:attribution] = <<-HTML
© 2010–2013 Jeremy Ashkenas, DocumentCloud
Licensed under the MIT License.
HTML
diff --git a/lib/docs/scrapers/coffeescript.rb b/lib/docs/scrapers/coffeescript.rb
index 96fb5a5d..291446f1 100644
--- a/lib/docs/scrapers/coffeescript.rb
+++ b/lib/docs/scrapers/coffeescript.rb
@@ -11,7 +11,7 @@ module Docs
options[:container] = '.container'
options[:skip_links] = -> (_) { true }
- options[:attribution] = <<-HTML.strip_heredoc
+ options[:attribution] = <<-HTML
© 2009–2013 Jeremy Ashkenas
Licensed under the MIT License.
HTML
diff --git a/lib/docs/scrapers/ember.rb b/lib/docs/scrapers/ember.rb
index 7229d573..cf60b062 100644
--- a/lib/docs/scrapers/ember.rb
+++ b/lib/docs/scrapers/ember.rb
@@ -48,7 +48,7 @@ module Docs
options[:skip_patterns] = [/\._/]
- options[:attribution] = <<-HTML.strip_heredoc
+ options[:attribution] = <<-HTML
© 2013 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
HTML
diff --git a/lib/docs/scrapers/jquery/jquery.rb b/lib/docs/scrapers/jquery/jquery.rb
index 56e0b42b..5882d3d2 100644
--- a/lib/docs/scrapers/jquery/jquery.rb
+++ b/lib/docs/scrapers/jquery/jquery.rb
@@ -11,7 +11,7 @@ module Docs
options[:trailing_slash] = false
options[:skip_patterns] = [/category/]
- options[:attribution] = <<-HTML.strip_heredoc
+ options[:attribution] = <<-HTML
© 2013 The jQuery Foundation
Licensed under the MIT License.
HTML
diff --git a/lib/docs/scrapers/less.rb b/lib/docs/scrapers/less.rb
index 83ecba43..0bb54c4c 100644
--- a/lib/docs/scrapers/less.rb
+++ b/lib/docs/scrapers/less.rb
@@ -10,7 +10,7 @@ module Docs
options[:container] = 'section'
options[:skip_links] = -> (_) { true }
- options[:attribution] = <<-HTML.strip_heredoc
+ options[:attribution] = <<-HTML
© 2009–2013 Alexis Sellier & The Core Less Team
Licensed under the Apache License v2.0.
HTML
diff --git a/lib/docs/scrapers/lodash.rb b/lib/docs/scrapers/lodash.rb
index e18437f9..8078d57a 100644
--- a/lib/docs/scrapers/lodash.rb
+++ b/lib/docs/scrapers/lodash.rb
@@ -12,7 +12,7 @@ module Docs
options[:container] = 'h1+div+div'
options[:skip_links] = -> (_) { true }
- options[:attribution] = <<-HTML.strip_heredoc
+ options[:attribution] = <<-HTML
© 2012–2013 The Dojo Foundation
Licensed under the MIT License.
HTML
diff --git a/lib/docs/scrapers/mdn/mdn.rb b/lib/docs/scrapers/mdn/mdn.rb
index 6e335c3e..d418c1d5 100644
--- a/lib/docs/scrapers/mdn/mdn.rb
+++ b/lib/docs/scrapers/mdn/mdn.rb
@@ -10,7 +10,7 @@ module Docs
text_filters.insert_before 'attribution', 'mdn/contribute_link'
options[:trailing_slash] = false
- options[:attribution] = <<-HTML.strip_heredoc
+ options[:attribution] = <<-HTML
© 2013 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
HTML
diff --git a/lib/docs/scrapers/node.rb b/lib/docs/scrapers/node.rb
index 81d0e74f..598b34ce 100644
--- a/lib/docs/scrapers/node.rb
+++ b/lib/docs/scrapers/node.rb
@@ -13,7 +13,7 @@ module Docs
options[:container] = '#apicontent'
options[:skip] = %w(index.html all.html documentation.html synopsis.html)
- options[:attribution] = <<-HTML.strip_heredoc
+ options[:attribution] = <<-HTML
© Joyent, Inc. and other Node contributors
Licensed under the MIT License.
HTML
diff --git a/lib/docs/scrapers/php.rb b/lib/docs/scrapers/php.rb
index e938d6b5..f866f59c 100644
--- a/lib/docs/scrapers/php.rb
+++ b/lib/docs/scrapers/php.rb
@@ -107,7 +107,7 @@ module Docs
spl.datastructures.html spl.iterators.html spl.interfaces.html
spl.exceptions.html spl.files.html spl.misc.html)
- options[:attribution] = <<-HTML.strip_heredoc
+ options[:attribution] = <<-HTML
© 1997–2013 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
HTML
diff --git a/lib/docs/scrapers/sass.rb b/lib/docs/scrapers/sass.rb
index 512364ec..d60f5b04 100644
--- a/lib/docs/scrapers/sass.rb
+++ b/lib/docs/scrapers/sass.rb
@@ -17,7 +17,7 @@ module Docs
'Sass Functions' if filter.slug == 'Sass/Script/Functions'
end
- options[:attribution] = <<-HTML.strip_heredoc
+ options[:attribution] = <<-HTML
© 2006–2013 Hampton Catlin, Nathan Weizenbaum, and Chris Eppstein
Licensed under the MIT License.
HTML
diff --git a/lib/docs/scrapers/underscore.rb b/lib/docs/scrapers/underscore.rb
index 02647d20..0eb4d886 100644
--- a/lib/docs/scrapers/underscore.rb
+++ b/lib/docs/scrapers/underscore.rb
@@ -12,7 +12,7 @@ module Docs
options[:container] = '#documentation'
options[:skip_links] = -> (_) { true }
- options[:attribution] = <<-HTML.strip_heredoc
+ options[:attribution] = <<-HTML
© 2009–2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
Licensed under the MIT License.
HTML