When configuring a Mahoodle install, exported content from forum, blog, and wiki modules appears to be stored in Mahara's database (in artefact_file_files) with the filetype text/plain, rather than text/html. This prevents users from embedding the imported content as an HTML artefact within a page in Mahara (it instead has to be added as a downloadable file).
This appears to be finfo() working as expected, reading the contents of the file and not seeing opening HTML tags; however, downloading imported content from the incoming folder in Mahara and re-uploading it appears to properly set the mimetype correctly to text/html with no change to the file's contents.
Version information:
Moodle 2.2.1
Mahara 1.5.1
Hi Darren,
I believe this was fixed in Bug #774684, though that was specific to Ubuntu I believe. Can you please give some more information about your setup such as what OS, Web server, Database, etc.
Cheers,
Hugh