We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
onclick
1 parent 97f7b5a commit d777a8aCopy full SHA for d777a8a
lib/docs/filters/rust/clean_html.rb
@@ -65,6 +65,10 @@ def call
65
node.add_child(next_element)
66
end
67
68
+ node.css('[onclick="show_railroad()"]').each do |subnode|
69
+ subnode.remove_attribute('onclick')
70
+ end
71
+
72
# We changed this to a <pre> in parse(), changing it back here
73
node.name = 'div'
74
node.css('.grammar-literal').each do |literal|
0 commit comments