You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b0aa0ca
Browse filesBrowse the repository at this point in the historyBrowse files
fix(fetcher): escape markdown metacharacters in forge_items::render_markdown
`forge_items::render_markdown` interpolated user-controlled `label`, `title`,
and `url` directly into Markdown source. A PR title like `fix ](oops)` would
truncate the link target and trail the rest as plain text; `*_wip_*` would
render as bold-italic instead of literal punctuation; and a URL carrying `)`
would break the link target the same way.
Add small `escape_markdown_inline` / `escape_markdown_url` helpers covering
the documented set of CommonMark-significant inline glyphs and the two URL
characters that can terminate a `(...)` link target. Adds unit coverage for
both helpers and a regression test on the combined rendering path.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
0 commit comments