1
0
Эх сурвалжийг харах

Remove weird <hr> tag

See https://github.com/damms005/devdocs/commit/8c9fbd859b71a2525b94a35ea994393ce2b6fedb#commitcomment-50091018
Damilola Olowookere 4 жил өмнө
parent
commit
3bc074dd6d

+ 3 - 0
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