In export pdf link is not showing properly

I am working on a project in which I am using a HTML template to generate the PDF report. In some reports I need to show some demo link to show the process. Below is a demo in which I am showing the link to download profit.
In HTML template, I am using below code to show link

<p>https://mywebsiteurl.com/v2/testReport.php?report_type=type&reference=<b>reference_number</b>&usercode=<b>user_code</b>&currency=<b>usd</b>&countrycode=<b>us</b>&reportdatefrom=<b>report_date_from</b>&reportdateto=<b>report_date_to</b>&reportforcountry=<b>report_for_country</b></p>

I am getting the below output
enter image description here

Parameter in bold need to replaced by dynamic values.
In the output I want that

  • URL must take max 3 lines.
  • testReport.php must not spit in 2 lines.

I don’t understand why is testReport not come in a single line? Any idea to achieve it