Add HTML file settings. Ensure all file settings are local to current file.
Move all ftplugin settings to after.

Should resolve problems with HTML settings overriding
PHP settings.