[devdocsgjs/main: 807/1867] vue-router: fix notes
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 807/1867] vue-router: fix notes
- Date: Fri, 19 Nov 2021 23:47:30 +0000 (UTC)
commit b34dbb25f80e15c7e709c524ce3cd149e205acb3
Author: Jasper van Merle <jaspervmerle gmail com>
Date: Tue Aug 13 18:25:57 2019 +0200
vue-router: fix notes
lib/docs/filters/vue_router/clean_html.rb | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/lib/docs/filters/vue_router/clean_html.rb b/lib/docs/filters/vue_router/clean_html.rb
index 19c6e7ae..71c1a132 100644
--- a/lib/docs/filters/vue_router/clean_html.rb
+++ b/lib/docs/filters/vue_router/clean_html.rb
@@ -7,6 +7,13 @@ module Docs
# Remove unneeded elements
css('.bit-sponsor, .header-anchor').remove
+ css('.custom-block').each do |node|
+ node.name = 'blockquote'
+
+ title = node.at_css('.custom-block-title')
+ title.name = 'strong' unless title.nil?
+ end
+
doc
end
end
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]