Skip to content

Commit

Permalink
resolve syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
confused-Techie committed Oct 27, 2023
1 parent cbaa3ad commit dc7674b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ function renderMarkdown(content, givenOpts = {}) {
mdComponents.deps.domPurify ??= require("dompurify");

let domPurifyOpts = {
ALLOW_UNKNOWN_PROTOCOLS: opts.sanitizeAllowUnknownProtocols
ALLOW_UNKNOWN_PROTOCOLS: opts.sanitizeAllowUnknownProtocols,
ALLOW_SELF_CLOSE_IN_ATTR: opts.sanitizeAllowSelfClose
};

Expand Down

0 comments on commit dc7674b

Please sign in to comment.