diff --git a/lib/docs/filters/react/clean_html_react_dev.rb b/lib/docs/filters/react/clean_html_react_dev.rb index 954dd9b3..2a5ce8a2 100644 --- a/lib/docs/filters/react/clean_html_react_dev.rb +++ b/lib/docs/filters/react/clean_html_react_dev.rb @@ -43,6 +43,9 @@ module Docs node['data-language'] = 'jsx' end + # Remove styling + css('*').remove_attr('class').remove_attr('style') + doc end end