Permalink
Browse files

parse <css> block as code (used in engines guide)

  • Loading branch information...
1 parent 1423cf9 commit c46374a9d949004761d71570a4d703838c694e74 @Mik-die Mik-die committed Apr 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/rails_guides/textile_extensions.rb
@@ -47,7 +47,7 @@ def brush_for(code_type)
end
def code(body)
- body.gsub!(%r{<(yaml|shell|ruby|erb|html|sql|plain)>(.*?)</\1>}m) do |m|
+ body.gsub!(%r{<(yaml|shell|ruby|erb|html|sql|css|plain)>(.*?)</\1>}m) do |m|
<<HTML
<notextile>
<div class="code_container">

0 comments on commit c46374a

Please sign in to comment.