diff options
author | Xavier Noria <fxn@hashref.com> | 2011-07-20 04:04:07 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-07-20 04:04:07 -0700 |
commit | 4636638bb998cad64e165fe644990db9c92c48a5 (patch) | |
tree | 618eb1462e0f7838af5b08365c8db955e8c7cf5a /railties/guides/rails_guides/generator.rb | |
parent | 0e6f19cc9bbad22543223550afb3e321309fe07f (diff) | |
parent | 01040b5dc990e79052627451603feea0f149fe41 (diff) | |
download | rails-4636638bb998cad64e165fe644990db9c92c48a5.tar.gz rails-4636638bb998cad64e165fe644990db9c92c48a5.tar.bz2 rails-4636638bb998cad64e165fe644990db9c92c48a5.zip |
Merge pull request #2136 from judearasu/guides_branch
notextile tag in rails guides generator has been placed with ascii quotes
Diffstat (limited to 'railties/guides/rails_guides/generator.rb')
-rw-r--r-- | railties/guides/rails_guides/generator.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/railties/guides/rails_guides/generator.rb b/railties/guides/rails_guides/generator.rb index 14d671c8f3..2219fcea66 100644 --- a/railties/guides/rails_guides/generator.rb +++ b/railties/guides/rails_guides/generator.rb @@ -227,13 +227,13 @@ module RailsGuides end code_blocks.push(<<HTML) -<notextile> +<notextile> <div class="code_container"> <pre class="brush: #{brush}; gutter: false; toolbar: false"> #{ERB::Util.h($2).strip} </pre> </div> -</notextile> +</notextile> HTML "\ndirty_workaround_for_notextile_#{code_blocks.size - 1}\n" end @@ -280,3 +280,4 @@ HTML end end end + |