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:
The HTML version is here:

Other HTML galley files are rendering as HTML in the same journal…

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 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.

Alec Smecher
Public Knowledge Project Team