Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fix-escape-arrows.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
default: patch
---

Reescape arrow brackets when editing a message.
2 changes: 1 addition & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
});
const pr = prs.data[0];
return pr
? `([#${pr.number}](${pr.html_url}) by @${pr.user.login})`
? `([#${pr.number}](<${pr.html_url}>) by @${pr.user.login})`
: `(\`${hash}\`)`;
} catch {
return `(\`${hash}\`)`;
Expand Down
2 changes: 1 addition & 1 deletion src/app/plugins/markdown/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { findAndReplace } from '$utils/findAndReplace';

// URL-aware pattern for inline sequences
const URL_NEG_LB = '(?<!(?:https?|ftp|mailto|magnet):\\/\\/\\S*)';
const INLINE_SEQUENCE_SET = '[*_~`|]';
const INLINE_SEQUENCE_SET = '[*_~`|<>]';
const CAP_INLINE_SEQ = `${URL_NEG_LB}${INLINE_SEQUENCE_SET}`;

/**
Expand Down
Loading