[devdocsgjs/main: 171/239] Remove weird <hr> tag
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 171/239] Remove weird <hr> tag
- Date: Fri, 8 Apr 2022 07:47:41 +0000 (UTC)
commit 3bc074dd6d3e94ab409a17ea5fdb093afdab04a9
Author: Damilola Olowookere <damms005 gmail com>
Date: Wed Apr 28 08:18:53 2021 +0100
Remove weird <hr> tag
See
https://github.com/damms005/devdocs/commit/8c9fbd859b71a2525b94a35ea994393ce2b6fedb#commitcomment-50091018
lib/docs/filters/tailwindcss/clean_html.rb | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/lib/docs/filters/tailwindcss/clean_html.rb b/lib/docs/filters/tailwindcss/clean_html.rb
index 818c8f80..4842a585 100644
--- a/lib/docs/filters/tailwindcss/clean_html.rb
+++ b/lib/docs/filters/tailwindcss/clean_html.rb
@@ -52,6 +52,9 @@ module Docs
node.parent.parent['class'] = node.parent.parent['class'].gsub(/bg-.*?\b/, ' ');
end
+ #remove weird <hr>
(https://github.com/damms005/devdocs/commit/8c9fbd859b71a2525b94a35ea994393ce2b6fedb#commitcomment-50091018)
+ css('hr').remove
+
doc
end
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]