---
url: 'https://adk.nht.io/api/@nhtio/adk/batteries/functions/renderTrustedContent.md'
---

# Function: renderTrustedContent()

```ts
function renderTrustedContent(
  content: string,
  attrs: TrustedContentAttrs,
): string;
```

Defined in: [batteries/llm/chat\_common/helpers.ts:202](https://github.com/NHTIO/ADK/blob/v1.20260609.0/src/batteries/llm/chat_common/helpers.ts#L202)

Implements [ChatHelpersCommon.renderTrustedContent](../llm/ollama/interfaces/ChatHelpersCommon.md#property-rendertrustedcontent).

## Parameters

| Parameter | Type                                                          |
| --------- | ------------------------------------------------------------- |
| `content` | `string`                                                      |
| `attrs`   | [`TrustedContentAttrs`](../interfaces/TrustedContentAttrs.md) |

## Returns

`string`
