However this doesn't work since the extension is converted to uppercase when replacing %ext% on this line.
There's currently no way of outputting the file extension in lowercase. Since the output of %ext% can very easily be converted to uppercase using CSS, I would like to suggest either getting rid of strtoupper() on the referenced line above, or that a new %extlc% wildcard is added:
I wanted to use the %ext% wildcard to include the document icons in my custom list like so:
However this doesn't work since the extension is converted to uppercase when replacing %ext% on this line.
There's currently no way of outputting the file extension in lowercase. Since the output of %ext% can very easily be converted to uppercase using CSS, I would like to suggest either getting rid of
strtoupper()
on the referenced line above, or that a new %extlc% wildcard is added:Whichever way you prefer, just let me know if you want me to send a PR.