This ensures that the hyperlink functions correctly when a document is generated in Word or when the original file type is .docx. Currently, the functionality only changes the text format to resemble a hyperlink, but it does not contain an actual URL when hovered over. However, when the document is generated as a PDF, the hyperlink works as expected. I hope you can replicate the same functionality when the document is generated in Word.
I would like to follow this up