You've already forked AstralRinth
forked from didirus/AstralRinth
@@ -116,7 +116,7 @@ export const configuredXss = new FilterXSS({
|
||||
)
|
||||
}
|
||||
return safeAttrValue(tag, name, url.toString(), cssFilter)
|
||||
} catch (err) {
|
||||
} catch {
|
||||
/* empty */
|
||||
}
|
||||
}
|
||||
@@ -153,7 +153,7 @@ export const md = (options = {}) => {
|
||||
if (allowedHostnames.includes(url.hostname)) {
|
||||
return defaultLinkOpenRenderer(tokens, idx, options, env, self)
|
||||
}
|
||||
} catch (err) {
|
||||
} catch {
|
||||
/* empty */
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user