mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
This fixes situation where rendering template to string sets `rendered_format` to the format rendered there. This is ok to have consistent formats rendered in partials, but it breaks on next renders if format is explicitly set or on last render where default format does not necessarily need to be the format of first rendered template.