Skip to content

Commit

Permalink
Merge pull request #44773 from jbampton/fix-spelling-in-guides
Browse files Browse the repository at this point in the history
  • Loading branch information
vipulnsward committed Mar 27, 2022
2 parents af0733a + d6f4701 commit 8372cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/rails_guides/generator.rb
Expand Up @@ -189,7 +189,7 @@ def extract_anchors(html)
anchors = Set.new
html.scan(/<h\d\s+id="([^"]+)/).flatten.each do |anchor|
if anchors.member?(anchor)
puts "*** DUPLICATE ID: #{anchor}, please make sure that there're no headings with the same name at the same level."
puts "*** DUPLICATE ID: #{anchor}, please make sure that there are no headings with the same name at the same level."
else
anchors << anchor
end
Expand Down

0 comments on commit 8372cf7

Please sign in to comment.