Module function reference

unescape

A reference entry for unescape

Module function · HTML

unescape unescape (string text) ⇒ string

Decodes standard HTML character references.

Example

YASS
$text = HTML::unescape("<strong>Hello</strong>")

Input: <strong>Hello</strong>

Output: <strong>Hello</strong>