Chrome for macOS shows raw HTML for gmail.com

I posted this question in the google communities forum here but did not receive a response so I thought I'd ask here. I'm not sure if it's specific to apple but I thought it could be worth a shot trying this here first, over stack overflow.

When I visit gmail, Chrome doesn't render the HTML but just displays it raw, similar to if I had right-clicked and then regular clicked View Page Source. And it's just the source code and not an working HTML-only render.

Visiting the same URL with a different browser, on the same machine with the same OS, does render the HTML in the typical fashion.

How can I get Chrome to render the HTML rather than just print it out?

I've tried resetting Chrome to default settings, and uninstalling and re-installing Chrome. The problem still persists. I did just upgrade to Mojave but Chrome worked normally after the upgrade for awhile before it started behaving strangely.

Shot of how it appears. screnshot


Solution 1:

This was solved thanks to a solution posted in the Google forum. It was solved but hitting command-shift-R. I have no idea why.

Link to forum post.