Random Quote issue with semi colons

My Random Quote problem is solved yes.
I can tweet and generate a random quote but whats boggling me is that if my quote contains a’;’ then the text() method does not return the parts of quote after the semi colon.
Has anyone faced such an issue?

Could you share your code? If you’re doing it on codepen, share its URL instead.

hi,I figured out the problem.
It seems ‘;’ is a reserved character for URLs and holds some significance which I am not fully not aware of yet.
For the time being i had to use an escape character for ‘;’ ie %3B so that my entire quote is displayed in the tweet and not cut off at the ‘;’