-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Description
I am creating a small project based on someone else's work and I would like to give them credit. The links won't work correctly, and this is my code so far:
const el = document.createElement('div');
el.innerHTML = "<a href='profile'>@profile</a>";
swal({
title: "A Bit of info",
content: "This code was created by " + el + ".",
icon: "info",
});
and this is the output:
It doesn't show the link, and I don't know why.
ulf-frostypaw
Metadata
Metadata
Assignees
Labels
No labels