You can clone with
HTTPS or Subversion.
format lookup for partials is derived from the format in which the te…
…mplate is being rendered
Closes #5025 part 2
extract formats_regexp as a method
There's no need now to expose lookup_context as an external API
Delegate freeze_formats to lookup_context