Can we merge the footnotes generating at the end of the page?

I need to merge the multiple footnotes generating at the end of each page. Suppose, I have two footnotes on a particular page generating as shown below:

1. This is the first footnote.

2. This is the second footnote. 

But now I want to merge these two footnotes to generate as:

1. This is the first footnote. 2. This is the second footnote.

Can anybody help me to achieve this output?