diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-04-02 23:34:47 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-04-02 23:34:47 +0530 |
commit | bb23d6fb005edaf25f5b294f9215429fb44b3f3d (patch) | |
tree | a3fed6ab6ac5e6b2f48aba865563bc2d3ca94aef | |
parent | e94437e3c66ce69b0ad7ca8c86d00d0ff5137896 (diff) | |
download | rails-bb23d6fb005edaf25f5b294f9215429fb44b3f3d.tar.gz rails-bb23d6fb005edaf25f5b294f9215429fb44b3f3d.tar.bz2 rails-bb23d6fb005edaf25f5b294f9215429fb44b3f3d.zip |
Revert "parse <css> block as code (used in engines guide) "
This reverts commit c46374a9d949004761d71570a4d703838c694e74.
Reason: Changed engines guide not to use a css tag. <plain> will do
just fine.
-rw-r--r-- | guides/rails_guides/textile_extensions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/rails_guides/textile_extensions.rb b/guides/rails_guides/textile_extensions.rb index 471d56eb8c..4677fae504 100644 --- a/guides/rails_guides/textile_extensions.rb +++ b/guides/rails_guides/textile_extensions.rb @@ -47,7 +47,7 @@ module RailsGuides end def code(body) - body.gsub!(%r{<(yaml|shell|ruby|erb|html|sql|css|plain)>(.*?)</\1>}m) do |m| + body.gsub!(%r{<(yaml|shell|ruby|erb|html|sql|plain)>(.*?)</\1>}m) do |m| <<HTML <notextile> <div class="code_container"> |