Skip to content

Links? #1009

@gbb104

Description

@gbb104

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:
Output
It doesn't show the link, and I don't know why.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions