mirror of
https://github.com/moodle/moodle.git
synced 2025-02-22 19:06:51 +01:00
This code was unnecessarily pre-rendering some context properties used by the action_menu, which also meant the mustache template expected HTML in the context, which should be avoided. Instead of pre-rendering, just export_for_template() and adjust the mustache template to render the sub template for the respective templatables. Doing this also reveals two unecessary renderer methods which have now been deprecated.