Open link in Current tab

Hi, I am using rasa-webchat for widget with rasa open source. When user asks a question rasa gives a response with link(as expected). When user click on this link…it opens in a new tab. How can i open this link in current tab?

You have to clone this repository change the code and build a lib file, host it in your server and use that instead of https://cdn.jsdelivr.net/npm/rasa-webchat@1.x.x/lib/index.js, for this you need to have knowledge on Reactjs or by debugging you will be able to find the component. change the target value from _blank to _self