| Author | Build | Commit | PR |
|---|---|---|---|
| flavorjones | 16692 | 96aeac6 | n/a |
| Repo | Branch | ||
| rails/rails | main | ||
| Message | |||
| Improve character escaping in Action Text markdown generation (#56873)
Text nodes in HTML that contain CommonMark metacharacters (like `*`,
`[`, `]`, `#`, `<`, `>`, etc.) now have those characters backslash-escaped
so markdown renderers treat them as literal text rather than
formatting.
So, for example, Rich Text content like this:
## Look at *this* does not become a markdown-formatted heading, instead it renders as ordinary text: \## Look at \*this\* To preserve markdown generated by attachments' `attachable_markdown_representation` method, `Content#to_markdown` wraps the representation in |
|||