Browse Source

Update Underscore.js documentation (1.8.3)

Thibaut Courouble 9 years ago
parent
commit
5391e30939
1 changed files with 4 additions and 0 deletions
  1. 4 0
      lib/docs/filters/underscore/clean_html.rb

+ 4 - 0
lib/docs/filters/underscore/clean_html.rb

@@ -5,6 +5,10 @@ module Docs
         # Remove Links, Changelog
         css('#links ~ *', '#links').remove
 
+        css('pre').each do |node|
+          node['data-language'] = 'javascript'
+        end
+
         doc
       end
     end