See filter settings $CFG->filteruploadedfiles
Assignment
Moodle is changing content in uploaded files
This discussion has been locked so you can no longer reply to it.