From 5391e309390f3be458d0b794597ff216d68de140 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 9 Apr 2016 09:29:04 -0400 Subject: [PATCH] Update Underscore.js documentation (1.8.3) --- lib/docs/filters/underscore/clean_html.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/docs/filters/underscore/clean_html.rb b/lib/docs/filters/underscore/clean_html.rb index a2c04401..b1c0a102 100644 --- a/lib/docs/filters/underscore/clean_html.rb +++ b/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