Fix for detail pages not being html.