History

vue-router: fix notes

Jasper van Merle committed 7 years ago

Commit b34dbb21 parent 58973bf1 file · +7 −0Browse files

Unified · Split

lib/docs/filters/vue_router/clean_html.rb+7−0
@@ -7,6 +7,13 @@ module Docs · 6 unmodified lines
77 # Remove unneeded elements
88 css('.bit-sponsor, .header-anchor').remove
99
10+ css('.custom-block').each do |node|
11+ node.name = 'blockquote'
12+
13+ title = node.at_css('.custom-block-title')
14+ title.name = 'strong' unless title.nil?
15+ end
16+
1017 doc
1118 end
1219 end