Skip to content

Commit b34dbb2

Browse files
committed
vue-router: fix notes
1 parent 58973bf commit b34dbb2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/docs/filters/vue_router/clean_html.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ def call
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

0 commit comments

Comments
 (0)