Fix after_render

Example usage from config.rb:

after_render do |content, path, locs, template_class|
  # restore character entities such as &amp;#96;
  content ||= ''
  content.gsub! '&amp;', '&'
  content
end
Merge pull request #1278 from bootstraponline/fix_after_render

Fix after_render