-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.6, 3.6.1, 3.6.2, 3.6.3, 3.6.4, 3.7, 4.4.6, 4.5.2, 5.0
The problem is that format_string per default escapes HTML entities. In this case the & will be encoded to:
&
|
To fix this issue we must decode HTML entities back to characters.
There are two ways to go:
- Set in format_string options escape to false (https://docs.moodle.org/dev/Output_functions)
- Use the html_entity_decode function
- is duplicated by
-
MDL-80163 "&" in course titles displaying as "&" in course search results
-
- Closed
-