ssb+issues+core: prettier

This commit is contained in:
2024-11-13 18:58:09 -05:00
parent 20701d9cf1
commit 3d8b02a7f3
4 changed files with 7 additions and 4 deletions

View File

@ -2,7 +2,7 @@ import * as linkify from './commonmark-linkify.js';
var reUnsafeProtocol = /^javascript:|vbscript:|file:|data:/i;
var reSafeDataProtocol = /^data:image\/(?:png|gif|jpeg|webp)/i;
var potentiallyUnsafe = function(url) {
var potentiallyUnsafe = function (url) {
return reUnsafeProtocol.test(url) && !reSafeDataProtocol.test(url);
};