mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #22739 from akshay-vishnoi/fix-docs
[ci skip] Fix typo
This commit is contained in:
commit
2de2263118
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ HTML
|
||||||
end
|
end
|
||||||
|
|
||||||
def header(text, header_level)
|
def header(text, header_level)
|
||||||
# Always increase the heading level by, so we can use h1, h2 heading in the document
|
# Always increase the heading level by 1, so we can use h1, h2 heading in the document
|
||||||
header_level += 1
|
header_level += 1
|
||||||
|
|
||||||
%(<h#{header_level}>#{text}</h#{header_level}>)
|
%(<h#{header_level}>#{text}</h#{header_level}>)
|
||||||
|
|
Loading…
Reference in a new issue