mirror of
https://github.com/moodle/moodle.git
synced 2025-02-11 19:16:23 +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.