fix(app): respect angle brackets for theme links too (#52)

This commit is contained in:
hampus-fluxer
2026-01-06 04:53:05 +01:00
committed by GitHub
parent 5f627b5b0b
commit fd2a1390b9
3 changed files with 7 additions and 6 deletions

View File

@@ -17,11 +17,7 @@
* along with Fluxer. If not, see <https://www.gnu.org/licenses/>.
*/
export function isLinkWrappedInAngleBrackets(
content: string,
matchStart: number,
matchLength: number,
): boolean {
export function isLinkWrappedInAngleBrackets(content: string, matchStart: number, matchLength: number): boolean {
if (matchLength <= 0) return false;
const beforeIndex = matchStart - 1;