Closed michael-milette closed 9 months ago
When I use the {categorydescription} tag, I get the following warning from Moodle if the category description contains an image:
Before calling format_text(), the content must be processed with file_rewrite_pluginfile_urls()
I expected there to be no warning and that the image would appear.
No response
All versions of Moodle.
Don't put images in category descriptions.
Not applicable
This fix is now available in FilterCodes here on GitHub and will be included in the upcoming release on moodle.org within the next few weeks.
Prerequisites
What happened?
When I use the {categorydescription} tag, I get the following warning from Moodle if the category description contains an image:
What do you think should have happened?
I expected there to be no warning and that the image would appear.
Steps to reproduce
Screenshots
No response
Moodle version
All versions of Moodle.
Installed Moodle UI Language packs.
If other language(s), please specify
No response
Workaround
Don't put images in category descriptions.
Additional information
No response
System information
Not applicable
Code of Conduct