Fix handling of default value for htmlOnly.