Ship pending development commits to production:
- 7a537f4 CSRF token-drift fix for add_comment/update_ticket (fixes a live prod 'Invalid CSRF token' bug)
- 5dea47c markdown double-parse fix
- 8f7c669 markdown code-block/language-tag parser
- 53d3670 markdown reload whitespace fix (headings/tables no longer break on refresh)
- d535557 strip trailing whitespace that was failing phpcs/CI
Green on development/beta.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Stored markdown comments rendered fine in the live preview (parses the raw
textarea value) but broke after refresh: the server template emitted the
comment text on an indented line, so the on-load renderer parsed
element.textContent with ~20 spaces of leading indentation. Markdown treats
4+ leading spaces as a code block, so the first line (e.g. a heading or
table row) was mis-parsed and blocks got wrapped in <p>, producing invalid
HTML that broke the page layout.
- markdown.js: trim the text before parseMarkdown in both on-load renderers
so template indentation can't be parsed as a leading code block.
- TicketView.php: emit the comment text inline (no surrounding whitespace)
so the element's textContent is exactly the stored markdown.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
CI has been red since the CSRF-drift changes landed a trailing space on the
'success' => false line in these two endpoints, which blocks the deploy job
(and therefore beta/prod). No logic change.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
jared
merged commit 20e4352f24 into main2026-07-15 16:54:01 -04:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Ship pending development commits to production:
7a537f4CSRF token-drift fix for add_comment/update_ticket (fixes a live prod 'Invalid CSRF token' bug)5dea47cmarkdown double-parse fix8f7c669markdown code-block/language-tag parser53d3670markdown reload whitespace fix (headings/tables no longer break on refresh)d535557strip trailing whitespace that was failing phpcs/CIGreen on development/beta.
🤖 Generated with Claude Code