sbd-npm 1.4.15 → 1.4.16
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/util.js +1 -1
package/package.json
CHANGED
package/util.js
CHANGED
@@ -3199,7 +3199,7 @@ const Util = {
|
|
3199
3199
|
*/
|
3200
3200
|
pack_html_link: function (url, title) {
|
3201
3201
|
if (url) {
|
3202
|
-
if (!url.startsWith("http")) {
|
3202
|
+
if (!url.startsWith("http") && !url.startsWith("/")) {
|
3203
3203
|
url = "http://" + url;
|
3204
3204
|
}
|
3205
3205
|
return "<a target='_blank' class='link_cls' rel='noopener noreferrer nofollow' href='" + url + "'>" + title + "</a>";
|