Fixed an issue related to doc conversion in Firefox.