Commit d49aff0
Fix markdownInlineCode to replace newlines with spaces for single-line output
Replace \r\n, \r, and \n with a space (not just normalize CRLF to LF) so
the returned inline code span never contains a literal newline character.
Update docstring and test to reflect space-replacement behavior.
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
Agent-Logs-Url: https://github.com/advanced-security/codeql-development-mcp-server/sessions/87cfd54e-9d66-4871-a581-601aff3c6c8d1 parent 67d5fe0 commit d49aff0
4 files changed
Lines changed: 13 additions & 10 deletions
File tree
- server
- dist
- src/prompts
- test/src/prompts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64469 | 64469 | | |
64470 | 64470 | | |
64471 | 64471 | | |
64472 | | - | |
| 64472 | + | |
64473 | 64473 | | |
64474 | 64474 | | |
64475 | 64475 | | |
| |||
0 commit comments