Revert "fix: refactor MakoService to allow specifying namespace per template (#33061)" (#33070)

This reverts commit d60cdc2305.
This commit is contained in:
bszabo
2023-08-21 16:32:58 -04:00
committed by GitHub
parent 98cb27da36
commit 68e9a03708
25 changed files with 55 additions and 113 deletions

View File

@@ -186,7 +186,7 @@ class PureXBlock(XBlock):
Renders the output that a student will see.
"""
fragment = Fragment()
fragment.add_content(self.runtime.service(self, 'mako').render_lms_template('edxmako.html', context))
fragment.add_content(self.runtime.service(self, 'mako').render_template('edxmako.html', context))
return fragment