I’m trying to work with notifications but I’m getting a text that contains my localhost wrapped in element and I don’t know where it’s coming from

I have the following function which creates a notification:

displayNotification(title: string, msg: string, avatarUrl: string, room: Room) {
    const notifBody = {
        body: msg,
    };
    if (avatarUrl) notifBody['icon'] = avatarUrl;
    const notification = new window.Notification(title, notifBody);

    notification.onclick = function() {
        dis.dispatch({
            action: 'view_room',
            room_id: room.roomId,
        });
        window.focus();
        notification.close();
    };

    return notification;
}

As you can see, when I’m creating the notification I pass a title and body to it. The title contains Bozhidar3 and the body contains Test Message so I expect the notification to only have these 2 fields alongside an icon. What actually happens is that I see this:

enter image description here

I can see my localhost wrapped around <a></a> tag and I have no idea where is it coming from. I went through all the notification instance properties here – https://developer.mozilla.org/en-US/docs/Web/API/notification but I couldn’t figure out what might this be. Does anyone have an educated guess where this might be coming from?I’m using Chrome on Linux.