Unified · Split
| @@ -65,6 +65,10 @@ module Docs · 64 unmodified lines | |||
| 65 | node.add_child(next_element) | 65 | node.add_child(next_element) |
| 66 | end | 66 | end |
| 67 | 67 | ||
| 68 | node.css('[onclick="show_railroad()"]').each do |subnode| | ||
| 69 | subnode.remove_attribute('onclick') | ||
| 70 | end | ||
| 71 | |||
| 68 | # We changed this to a <pre> in parse(), changing it back here | 72 | # We changed this to a <pre> in parse(), changing it back here |
| 69 | node.name = 'div' | 73 | node.name = 'div' |
| 70 | node.css('.grammar-literal').each do |literal| | 74 | node.css('.grammar-literal').each do |literal| |