Symisc Systems

Libcox Command Reference


Star Follow @symisc

Command Syntax

html_decode string [quote_style = ENT_COMPAT ]


Alias

None


Description

Unescape HTML entities.


Parameters

string

Unescape HTML entities.

quote_style

Optional Parameter: The quote style. One of the following constants:
ENT_COMPAT 1 Will convert double-quotes and leave single-quotes alone (default)
ENT_QUOTES 2 Will convert both double and single quotes
ENT_NOQUOTES 4 Will leave both double and single quotes unconverted.


Return Value

String: The decoded string or NULL on failure. Use libcox_value_to_string() to extract the processing result.