You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* fix(markdown): require paired || delimiters for spoiler detection An unpaired || (odd count across all inline tokens) would open a spoiler that never closes, causing closeRemainingStyles to extend it to the end of the text. This made all content after an unpaired || appear as hidden/spoiler in Telegram. Pre-count || delimiters across the entire inline token group and skip spoiler injection entirely when the count is less than 2 or odd. This prevents single | characters and unpaired || from triggering spoiler formatting. Closes #26068 Co-authored-by: Cursor <cursoragent@cursor.com> * fix: preserve valid spoiler pairs with trailing unmatched delimiters (#26105) (thanks @Sid-Qin) --------- Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Peter Steinberger <steipete@gmail.com> |
9 months ago | |
|---|---|---|
| .. | ||
| code-spans.ts | 10 months ago | |
| fences.ts | 10 months ago | |
| frontmatter.test.ts | 10 months ago | |
| frontmatter.ts | 9 months ago | |
| ir.blockquote-spacing.test.ts | 9 months ago | |
| ir.hr-spacing.test.ts | 9 months ago | |
| ir.nested-lists.test.ts | 9 months ago | |
| ir.table-bullets.test.ts | 10 months ago | |
| ir.table-code.test.ts | 9 months ago | |
| ir.ts | 9 months ago | |
| render.ts | 9 months ago | |
| tables.ts | 10 months ago | |
| whatsapp.test.ts | 9 months ago | |
| whatsapp.ts | 9 months ago | |