Fixing php/html handler