Browse Source

lit: remove mdnIcon

Simon Legner 1 month ago
parent
commit
53564c7de5
1 changed files with 6 additions and 0 deletions
  1. 6 0
      lib/docs/filters/lit/clean_html.rb

+ 6 - 0
lib/docs/filters/lit/clean_html.rb

@@ -71,6 +71,12 @@ module Docs
           node.previous_element << node
         end
 
+        css('.mdnIcon').each do |node|
+          parent = node.parent
+          node.remove
+          parent.content = parent.content.strip
+        end
+
         doc
       end
     end