We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f8d40a commit e79dab7Copy full SHA for e79dab7
1 file changed
examples/map-server/src/mcp-app.ts
@@ -1607,6 +1607,7 @@ function annotationsToMarkdown(annotations: TrackedAnnotation[]): string {
1607
for (let i = 0; i < annotations.length; i++) {
1608
const d = annotations[i].def;
1609
const desc = (d.description || "")
1610
+ .replace(/\\/g, "\\\\")
1611
.replace(/\|/g, "\\|")
1612
.replace(/\n/g, "<br>");
1613
const base = `| ${i + 1} | ${d.type} | ${d.id} | ${d.label || ""} | ${annDetails(d)} | ${d.color || (d.type === "marker" ? "red" : "blue")} |`;
0 commit comments