@@ -1,19 +0,0 @@
-module Docs
- class Mdn
- class ContributeLinkFilter < Filter
- def call
- return html if current_url.host != 'developer.mozilla.org'
-
- html << <<-HTML.strip_heredoc
- <div class="_attribution">
- <p class="_attribution-p">
- <a href="#{current_url}$edit" class="_attribution-link">Edit this page on MDN</a>
- </p>
- </div>
- HTML
- html
- end
-end
@@ -7,7 +7,6 @@ module Docs
params[:macros] = 1
html_filters.push 'mdn/clean_html'
- text_filters.insert_before 'attribution', 'mdn/contribute_link'
options[:rate_limit] = 200
options[:trailing_slash] = false