fix issue #11605
Merge pull request #12006 from kassio/11605-render-with-context-format

Render with context format