# `HtmlToMarkdown.WarningKind`

Categories of processing warnings.

# `t`

```elixir
@type t() ::
  :image_extraction_failed
  | :encoding_fallback
  | :truncated_input
  | :malformed_html
  | :sanitization_applied
  | :depth_limit_exceeded
```

Categories of processing warnings.

# `depth_limit_exceeded`

```elixir
@spec depth_limit_exceeded() :: t()
```

DOM traversal was truncated because `max_depth` was exceeded.

# `encoding_fallback`

```elixir
@spec encoding_fallback() :: t()
```

The input encoding was not recognized; fell back to UTF-8.

# `image_extraction_failed`

```elixir
@spec image_extraction_failed() :: t()
```

An image could not be extracted (e.g. invalid data URI, unsupported format).

# `malformed_html`

```elixir
@spec malformed_html() :: t()
```

The HTML was malformed but processing continued with best effort.

# `sanitization_applied`

```elixir
@spec sanitization_applied() :: t()
```

Sanitization was applied to remove potentially unsafe content.

# `truncated_input`

```elixir
@spec truncated_input() :: t()
```

The input was truncated due to size limits.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
