# clanbite_esc_block_fragment_html()

Escape an HTML fragment built from block markup / helpers for safe storage or composition.

For final output in `render.php`, prefer `clanbite_echo_block_fragment_html()` so PHPCS recognizes
escaping at the call site; use this function when you need a string (concatenation, tests, etc.).

```php
clanbite_esc_block_fragment_html( string $html ): string
```

## Parameters

- `$html` (string) Assembled markup (balanced fragment recommended).

## Return

`string`
