History

fix Ready to learn

Gergely Gombos committed 1 year ago

Commit 0a1b2871 parent e67408b1 file · +1 −1Browse files

Unified · Split

lib/docs/filters/react/clean_html_react_dev.rb+1−1
@@ -46,7 +46,7 @@ module Docs · 45 unmodified lines
4646 end
4747
4848 # Transform h3 to h4 inside callouts
49− css('.note h3').each do |node|
49+ css('.note h3', '.note h2').each do |node|
5050 new_node = Nokogiri::XML::Node.new('h4', @doc)
5151 new_node.content = node.content
5252 node.replace(new_node)