Skip to content

fix: mustache: allow certain non body level elements as root in linter #344

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Menrath
Copy link

@Menrath Menrath commented May 15, 2025

Problem was already mentioned 8 years ago. https://moodle.org/mod/forum/discuss.php?d=361491

I again stumbled into it, when I added a template for a list item because wanted to use the JavaScript to render new list items via the Templates.renderForPromise function.

@Menrath
Copy link
Author

Menrath commented May 16, 2025

An suggestion: I can also offer implementing this in a optional way, so that moodle-plugin-ci may get an additional syntax in cli to activate this behaviour, so the current default behaviour stays the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant