Open abias opened 1 year ago
The only remaining mustache shortcoming in Boost Union is this one:
(#1) HTML Validation info, line 2: Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. (TYPE html><html ><head)
This issue is highlighted for these three templates:
However, we won't be able to solve this easily unfortunately as we would have to diverge from the way how Moodle Core composes its HTML page from multiple mustache templates and adds the language from the output.htmlattributes template context.
needs status on hold to be waited
There are some shortcomings in the mustache templates which have been adopted from Boost core to Boost Union.
On the one hand, we should stick as closely to Boost core as possible. On the other hand, these shortcomings require to mute the moodle-plugin-ci mustache checker (see https://github.com/moodle-an-hochschulen/moodle-theme_boost_union/blob/master/.github/workflows/moodle-plugin-ci.yml#L95) to avoid that this check fails again and again.
To allow the mustache tests to run properly, it would be worthwhile to fix the mustache shortcomings from Boost Core in Boost Union finally.