HTML in Galley not rendering (displays source instead)

I’m banging my head on my desk about an HTML file that is not rendering as HTML.
I’m in OJS 2
The article is here:
https://journals.psu.edu/mentor/article/view/60566
The HTML version is here:
https://journals.psu.edu/mentor/article/view/60566/60606

Other HTML galley files are rendering as HTML in the same journal…
https://journals.psu.edu/mentor/article/view/60744/60569

In both cases, the “File Type” field shows “text/plain”

… I’m at a loss. Any ideas?

Hi @AndrewGearhart,

Unfortunately MIME type detection of HTML documents is a little spotty. You’ll need to do two things…

  1. Determine how OJS is checking MIME types. This is implemented in PKPString.inc.php to use [one of several methods, depending what’s available on your server.
  2. Work with the underlying tool – whichever is being used – to figure out why it’s mis-detecting your MIME types.

Regards,
Alec Smecher
Public Knowledge Project Team