Skip to content

Commit 85382cd

Browse files
author
Zerline
committed
Question of length.
1 parent 7f296f0 commit 85382cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/base-manager/src/manager-base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function default_inline_sanitize(html: string): string {
7171
var matched = String(m);
7272
res +=
7373
'$' +
74-
sanitize(matched.substr(1, matched.length - 1), {
74+
sanitize(matched.substr(1, matched.length - 2), {
7575
allowedTags: allowedTags,
7676
allowedAttributes: allowedAttributes
7777
}) +

0 commit comments

Comments
 (0)