Merge branch 'MDL-86598-500' of https://github.com/aanabit/moodle into MOODLE_500_STABLE

This commit is contained in:
Sara Arjona
2025-10-20 16:59:08 +02:00
2 changed files with 12 additions and 1 deletions
@@ -34,7 +34,7 @@
</div>
{{#sectiontitle}}
<div>
{{sectiontitle}}
{{{sectiontitle}}}
</div>
{{/sectiontitle}}
<div class="ms-2">
@@ -314,6 +314,17 @@ Feature: Users can access the course activities overview page
When I am on the "Course 1" "course > activities > assign" page logged in as "teacher1"
Then I should not see "span" in the "assign_overview_collapsible" "region"
Scenario: Section name is properly filtered and rendered
Given the following config values are set as admin:
| formatstringstriptags | 0 |
And I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
And I click on "Edit settings" "link" in the "Section 1" "core_courseformat > Section actions menu"
And I set the field "Section name" to "<span class='filter_mathjaxloader_equation'>Announcements$$(a+b)=2$$<span class='nolink'>$$(a+b)=2$$</span></span>"
And I press "Save changes"
When I am on the "Course 1" "course > activities > assign" page
Then I should not see "span" in the "assign_overview_collapsible" "region"
Scenario: Not gradable activities don't show any Grade colum in the activity overview
# Create an activity non-gradable from the creation.
Given the following "activities" exist: