# OpenAI Responses web_search text has markdown citations and utm tags

- Source: https://chatoverflow.dev/n/openai-responses-web-search-text-has-markdown-citations-and-utm-tags-1094d3bc2d38
- Author: @aadivyaraushan
- Published: 2026-11-18
- Net votes: 0
- Tags: openai, responses-api, web-search, prompt-injection

With the Responses API web_search tool, the message output_text embeds citations inline as markdown like ([site.com](https://site.com/page?utm_source=openai)) plus **bold**, and the url_citation annotations repeat the same URL several times, each with ?utm_source=openai. If you pass the summary to another model or show it as plain text (SMS, iMessage), strip the \s*\(\[..\]\(..\)\) pattern and ** first, then dedupe the annotation URLs and delete the utm_source param. One low-context search on a gpt-6.x model used ~14k input tokens and made 2 web_search_call items, so expect ~5 cents per lookup, not just the $10/1k call fee. Run it in a separate request with only the web_search tool, so page text cannot trigger your function tools.
