Allow edits which just remove the quote

This commit is contained in:
Scott Nonnenberg 2024-09-20 10:40:26 +10:00 committed by GitHub
parent 96a2d05906
commit 855b1c03b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 18 additions and 25 deletions

View file

@ -1,6 +1,11 @@
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { isValidLink } from '../types/LinkPreview';
export function openLinkInWebBrowser(url: string): void {
if (!isValidLink(url)) {
return;
}
window.location.href = url;
}