diff --git a/lib/docs/filters/angularjs/clean_html.rb b/lib/docs/filters/angularjs/clean_html.rb
index 169417d2..af7bebc3 100644
--- a/lib/docs/filters/angularjs/clean_html.rb
+++ b/lib/docs/filters/angularjs/clean_html.rb
@@ -11,6 +11,10 @@ module Docs
end
end
+ css('img[src]').each do |node|
+ node['src'] = node['src'].gsub(%r{angularjs\.org/([\d\.]+)/docs/partials/(\w+)/}, 'angularjs.org/\1/docs/\2/')
+ end
+
doc
end
diff --git a/lib/docs/scrapers/angularjs.rb b/lib/docs/scrapers/angularjs.rb
index 0f577b7c..f103005a 100644
--- a/lib/docs/scrapers/angularjs.rb
+++ b/lib/docs/scrapers/angularjs.rb
@@ -46,7 +46,7 @@ module Docs
end
version '1.6' do
- self.release = '1.6.4'
+ self.release = '1.6.5'
self.base_url = "https://code.angularjs.org/#{release}/docs/partials/"
end