Fixes failing tests in HTMLEditingDescriptor