Skip to content

Commit

Permalink
fix Ready to learn
Browse files Browse the repository at this point in the history
  • Loading branch information
gombosg committed Dec 11, 2024
1 parent e67408b commit 0a1b287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/docs/filters/react/clean_html_react_dev.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def call
end

# Transform h3 to h4 inside callouts
css('.note h3').each do |node|
css('.note h3', '.note h2').each do |node|
new_node = Nokogiri::XML::Node.new('h4', @doc)
new_node.content = node.content
node.replace(new_node)
Expand Down

0 comments on commit 0a1b287

Please sign in to comment.