Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Angle brackets in model prose are dropped or double-escaped

Aberta
#1,578 0 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
58/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
go, markdown
Domínio
cli, frontend

Direção de pesquisa

Reproduce with the documented dev build and isolated profile, then compare the transcript, team's Traffic column, and senior-dev/task lines using the exact angle-bracket input. Trace the markdown-rendering and display entry points involved; done means both routes display verbatim in all three locations without dropping or double-escaping them.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

area:chat bug sev:serious

Seen on: dev 837b2b0.

Behaviour

Model text with angle brackets renders wrongly. DELETE /tasks/<id> showed as DELETE /tasks/&lt;id&gt; in one place, and elsewhere GET /tasks/<id> showed as GET /tasks/ (the <id> vanished). The text should show exactly as written.

Replication

  1. Build dev 837b2b0 (git checkout 837b2b0 && make build, binary bin/codeaf), or install the dev build with curl -fsSL https://agentfield.ai/get/devaf | bash.
  2. Use an isolated profile: export HOME=$(mktemp -d), export OPENROUTER_API_KEY, and keep the default model (~deepseek/deepseek-v4-flash-latest, crew on auto).
  3. On a busy machine set task.max_load to 0 (/settings, Tasks) so the busy-machine gate does not hold tasks.
  4. cd $(mktemp -d) && git init -q && codeaf.
  5. Send: Reply with exactly these two lines, no code block: GET /tasks/<id> and DELETE /tasks/<id>.
  6. Read the transcript, then the same text in a team's Traffic column and in a senior-dev landing line.

Evidence

  • Screen: DELETE /tasks/&lt;id&gt; (Traffic column) and GET /tasks/ (senior-dev line).
  • Code path not traced in this pass.

Guessed cause

A guess from reading the code, not a confirmed diagnosis. The markdown renderer treats <id> as an HTML tag and drops it; one other path escapes it twice.

Acceptance

  • e2e: the reply above shows GET /tasks/<id> and DELETE /tasks/<id> verbatim in the transcript, the Traffic column and task lines.

Found while writing the public docs; manual text differences are in #1545.

🤖 Generated with Claude Code

Linguagem predominante
Go
Estrelas
115
Forks
14
Merge médio
9h 44min
PRs com merge (30d)
766

Preparar o ambiente

Ainda não verificamos os arquivos de configuração deste projeto. Comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Agent-Field/CodeAF

Todas as issues de Agent-Field/CodeAF

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.