---
layout: page
title: "Escape"
node_type: "lib.html.Escape"
namespace: "lib.html"
---

**Type:** `lib.html.Escape`

**Namespace:** `lib.html`

## Description

Escape special characters in text into HTML-safe sequences.
    html, escape, entities, convert

    Use cases:
    - Prepare text for inclusion in HTML
    - Prevent cross-site scripting in user content
    - Encode strings for web output

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|----------|
| text | `str` | The text to escape | `` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `str` |  |

## Metadata

## Related Nodes

Browse other nodes in the [lib.html](../) namespace.

