-
Bug
-
Resolution: Fixed
-
Minor
-
3.5.6, 3.6.4, 3.7, 3.8, 3.9
-
MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
Steps to reproduce
- Make sure "Activity names auto-linking" filter is active at site and course level.
- In a course, create an Assignment and set name to "-".
- In the same course create a label with some content and return to course.
- You should see label's content broken.
What actually happens
- "Activity names auto-linking": on.
- Assignment's name "-".
- Label's original content: "This is a label".
- Wrong visualization of label's content: "<%1-%0%><%2%1%>This is a label<%3%2%><%4%3%><%5%-4%>".
- Each of the hyphens is a link pointing to the task named "-".
- This behavior affects the descriptions shown in the course of each resource or activity.
- If you switch off "Activity names auto-linking", content turns readable.
Expected
- "Activity names auto-linking": on.
- Assignment's name "-".
- Label's original content: "This is a label".
- Correct visualization of label's content: "This is a label".