@@ -15,6 +15,10 @@ module Docs
node['data-language'] = node['class'][/highlight (\w+)/, 1]
end
+ css('iframe').each do |node|
+ node['sandbox'] = 'allow-forms allow-scripts allow-same-origin'
+ end
+
doc
@@ -18,7 +18,7 @@ module Docs
HTML
version '2' do
- self.release = '2.0.8'
+ self.release = '2.1.3'
self.base_url = 'https://vuejs.org/v2/'
self.root_path = 'guide/index.html'
self.initial_paths = %w(api/index.html)