Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 771 Bytes

File metadata and controls

25 lines (15 loc) · 771 Bytes

Escape for HTML

Escape for HTML

Overview

Escapes string for HTML. Converts characters that have special meaning in HTML (such as <, >, &, and ") into their corresponding HTML entities so the string can be safely rendered as text content in an HTML document.

Parameters

1. sourceString (TEXTAREA)

  • Label: Source string
  • Description: The input string to escape for safe embedding in HTML content.
  • Required: Yes
  • Default: None
  • Constraints: None

Output

Returns a STRING containing the HTML-escaped value with special characters replaced by HTML entities.

Exceptions

Throws BotCommandException on invalid input or internal failure.