diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2015-12-21 19:40:53 -0200 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2015-12-21 19:40:53 -0200 |
commit | 2de2263118d6763c11a02db05079a5b7a97a0a34 (patch) | |
tree | 6b3f7ebd9635f8cb30ff89ebff71d235f230905e | |
parent | 73dcf00c1f95fb561e0d7880828e4a92de4562f3 (diff) | |
parent | 656ab0dfc994b9fef5b7e00a54f8f1bd54e83b6b (diff) | |
download | rails-2de2263118d6763c11a02db05079a5b7a97a0a34.tar.gz rails-2de2263118d6763c11a02db05079a5b7a97a0a34.tar.bz2 rails-2de2263118d6763c11a02db05079a5b7a97a0a34.zip |
Merge pull request #22739 from akshay-vishnoi/fix-docs
[ci skip] Fix typo
-rw-r--r-- | guides/rails_guides/markdown/renderer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/rails_guides/markdown/renderer.rb b/guides/rails_guides/markdown/renderer.rb index 554d94ad50..73ca600361 100644 --- a/guides/rails_guides/markdown/renderer.rb +++ b/guides/rails_guides/markdown/renderer.rb @@ -16,7 +16,7 @@ HTML end 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 %(<h#{header_level}>#{text}</h#{header_level}>) |