Unified · Split
| @@ -13,7 +13,7 @@ module Docs · 12 unmodified lines | ||
| 13 | 13 | <<-HTML.strip_heredoc |
| 14 | 14 | <div class="_attribution"> |
| 15 | 15 | <p class="_attribution-p"> |
| 16 | − #{attribution.delete "\n"}<br> | |
| 16 | + #{attribution.strip_heredoc.delete "\n"}<br> | |
| 17 | 17 | #{attribution_link} |
| 18 | 18 | </p> |
| 19 | 19 | </div> |
| @@ -12,7 +12,7 @@ module Docs · 11 unmodified lines | ||
| 12 | 12 | options[:container] = '.container' |
| 13 | 13 | options[:skip_links] = -> (_) { true } |
| 14 | 14 | |
| 15 | − options[:attribution] = <<-HTML.strip_heredoc | |
| 15 | + options[:attribution] = <<-HTML | |
| 16 | 16 | © 2010–2013 Jeremy Ashkenas, DocumentCloud<br> |
| 17 | 17 | Licensed under the MIT License. |
| 18 | 18 | HTML |
| @@ -11,7 +11,7 @@ module Docs · 10 unmodified lines | ||
| 11 | 11 | options[:container] = '.container' |
| 12 | 12 | options[:skip_links] = -> (_) { true } |
| 13 | 13 | |
| 14 | − options[:attribution] = <<-HTML.strip_heredoc | |
| 14 | + options[:attribution] = <<-HTML | |
| 15 | 15 | © 2009–2013 Jeremy Ashkenas<br> |
| 16 | 16 | Licensed under the MIT License. |
| 17 | 17 | HTML |
| @@ -48,7 +48,7 @@ module Docs · 47 unmodified lines | ||
| 48 | 48 | |
| 49 | 49 | options[:skip_patterns] = [/\._/] |
| 50 | 50 | |
| 51 | − options[:attribution] = <<-HTML.strip_heredoc | |
| 51 | + options[:attribution] = <<-HTML | |
| 52 | 52 | © 2013 Yehuda Katz, Tom Dale and Ember.js contributors<br> |
| 53 | 53 | Licensed under the MIT License. |
| 54 | 54 | HTML |
| @@ -11,7 +11,7 @@ module Docs · 10 unmodified lines | ||
| 11 | 11 | options[:trailing_slash] = false |
| 12 | 12 | options[:skip_patterns] = [/category/] |
| 13 | 13 | |
| 14 | − options[:attribution] = <<-HTML.strip_heredoc | |
| 14 | + options[:attribution] = <<-HTML | |
| 15 | 15 | © 2013 The jQuery Foundation<br> |
| 16 | 16 | Licensed under the MIT License. |
| 17 | 17 | HTML |
| @@ -10,7 +10,7 @@ module Docs · 9 unmodified lines | ||
| 10 | 10 | options[:container] = 'section' |
| 11 | 11 | options[:skip_links] = -> (_) { true } |
| 12 | 12 | |
| 13 | − options[:attribution] = <<-HTML.strip_heredoc | |
| 13 | + options[:attribution] = <<-HTML | |
| 14 | 14 | © 2009–2013 Alexis Sellier & The Core Less Team<br> |
| 15 | 15 | Licensed under the Apache License v2.0. |
| 16 | 16 | HTML |
| @@ -12,7 +12,7 @@ module Docs · 11 unmodified lines | ||
| 12 | 12 | options[:container] = 'h1+div+div' |
| 13 | 13 | options[:skip_links] = -> (_) { true } |
| 14 | 14 | |
| 15 | − options[:attribution] = <<-HTML.strip_heredoc | |
| 15 | + options[:attribution] = <<-HTML | |
| 16 | 16 | © 2012–2013 The Dojo Foundation<br> |
| 17 | 17 | Licensed under the MIT License. |
| 18 | 18 | HTML |
| @@ -10,7 +10,7 @@ module Docs · 9 unmodified lines | ||
| 10 | 10 | text_filters.insert_before 'attribution', 'mdn/contribute_link' |
| 11 | 11 | |
| 12 | 12 | options[:trailing_slash] = false |
| 13 | − options[:attribution] = <<-HTML.strip_heredoc | |
| 13 | + options[:attribution] = <<-HTML | |
| 14 | 14 | © 2013 Mozilla Contributors<br> |
| 15 | 15 | Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later. |
| 16 | 16 | HTML |
| @@ -13,7 +13,7 @@ module Docs · 12 unmodified lines | ||
| 13 | 13 | options[:container] = '#apicontent' |
| 14 | 14 | options[:skip] = %w(index.html all.html documentation.html synopsis.html) |
| 15 | 15 | |
| 16 | − options[:attribution] = <<-HTML.strip_heredoc | |
| 16 | + options[:attribution] = <<-HTML | |
| 17 | 17 | © Joyent, Inc. and other Node contributors<br> |
| 18 | 18 | Licensed under the MIT License. |
| 19 | 19 | HTML |
| @@ -107,7 +107,7 @@ module Docs · 106 unmodified lines | ||
| 107 | 107 | spl.datastructures.html spl.iterators.html spl.interfaces.html |
| 108 | 108 | spl.exceptions.html spl.files.html spl.misc.html) |
| 109 | 109 | |
| 110 | − options[:attribution] = <<-HTML.strip_heredoc | |
| 110 | + options[:attribution] = <<-HTML | |
| 111 | 111 | © 1997–2013 The PHP Documentation Group<br> |
| 112 | 112 | Licensed under the Creative Commons Attribution License v3.0 or later. |
| 113 | 113 | HTML |
| @@ -17,7 +17,7 @@ module Docs · 16 unmodified lines | ||
| 17 | 17 | 'Sass Functions' if filter.slug == 'Sass/Script/Functions' |
| 18 | 18 | end |
| 19 | 19 | |
| 20 | − options[:attribution] = <<-HTML.strip_heredoc | |
| 20 | + options[:attribution] = <<-HTML | |
| 21 | 21 | © 2006–2013 Hampton Catlin, Nathan Weizenbaum, and Chris Eppstein<br> |
| 22 | 22 | Licensed under the MIT License. |
| 23 | 23 | HTML |
| @@ -12,7 +12,7 @@ module Docs · 11 unmodified lines | ||
| 12 | 12 | options[:container] = '#documentation' |
| 13 | 13 | options[:skip_links] = -> (_) { true } |
| 14 | 14 | |
| 15 | − options[:attribution] = <<-HTML.strip_heredoc | |
| 15 | + options[:attribution] = <<-HTML | |
| 16 | 16 | © 2009–2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors<br> |
| 17 | 17 | Licensed under the MIT License. |
| 18 | 18 | HTML |