-
Bug
-
Resolution: Fixed
-
Blocker
-
2.4
-
MOODLE_24_STABLE
-
MOODLE_24_STABLE
-
MDL-36290-master -
While trying to replace the forum icon with an SVG icon, which did not work, I realised that the method post_process() in outputlib.php:948 was forcing the SVG status to false. But does not revert it once the method is completed. This leads to $usesvg to be switched off for the rest of the execution of the page.
To replicate
- Drop a file called icon.svg in /mod/forum/pix/
Actual:
- The icon is not displayed in the activity chooser, nor course content
- The URL to the icon specifies svg=0
Expected:
- The icon is displayed in the activity chooser and course content
- The URL to the icon specifies svg=1
- has been marked as being related by
-
MDL-22955 Add support for SVG images to the image system within Moodle 2
- Closed