-
Notifications
You must be signed in to change notification settings - Fork 240
Closed
Description
var autolinker = require('autolinker');
let html = autolinker.link(`<a href=https://www.facebook.com/hashtag/muntcentrum>#Muntcentrum</a>`);
console.log(html); // works: "<a href=https://www.facebook.com/hashtag/muntcentrum>#Muntcentrum</a>"
html = autolinker.link(`<a href=https://www.facebook.com/hashtag/muntcentrum?epa=HASHTAG>#Muntcentrum</a>`);
console.log(html); // fails: "<a href=<a href=\"https://www.facebook.com/hashtag/muntcen….com/hashtag/muntcentrum?epa=HASHTAG</a>>#Muntcentrum</a>"
Metadata
Metadata
Assignees
Labels
No labels