""" Regression tests for #1154 — fenced code block content leaking into markdown passes and corrupting subsequent message rendering. Root cause: fenced code blocks were rendered to
 early in
the pipeline, BEFORE list/heading/table regexes ran. Lines inside
code blocks that looked like markdown (e.g. `- removed`, `+ added`
in diff blocks) were matched by those regexes, injecting