-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
There are some cases where the <link> tag needs to be self closed <link rel="stylesheet" href="foo.css"/>
I know it's stupid but they are, and I was wondering if we can customize the ref template in the script using options.
if(attbs) {
ref = '<link rel="stylesheet" href="' + target + '" ' + attbs + '>';
} else {
ref = '<link rel="stylesheet" href="' + target + '">';
}Basically the above code will be the default, but if we send a custom template it should use that one. And this should cover all cases I think where you need to manipulate the returned tag. For me being that / at the end.
What do you think?
Metadata
Metadata
Assignees
Labels
No labels