Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 5f840da

Browse files
committed
Fix typo
1 parent ac7991c commit 5f840da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HtmlUtils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ const transformTags: IExtendedSanitizeOptions["transformTags"] = { // custom to
172172
// Strip out imgs that aren't `mxc` here instead of using allowedSchemesByTag
173173
// because transformTags is used _before_ we filter by allowedSchemesByTag and
174174
// we don't want to allow images with `https?` `src`s.
175-
// We also drops inline images (as if they were not present at all) when the "show
175+
// We also drop inline images (as if they were not present at all) when the "show
176176
// images" preference is disabled. Future work might expose some UI to reveal them
177177
// like standalone image events have.
178178
if (!attribs.src || !attribs.src.startsWith('mxc://') || !SettingsStore.getValue("showImages")) {

0 commit comments

Comments
 (0)