JavaScript Editor Javascript debugger     Website design 

ircg_html_encode

Encodes HTML preserving output (PHP 4 >= 4.0.5, PHP 5 <= 5.0.5)
string ircg_html_encode ( string html_string [, bool auto_links [, bool conv_br]] )

Encodes a HTML string html_string for output. This exposes the interface which the IRCG extension uses internally to reformat data coming from an IRC link. The function causes IRC color/font codes to be encoded in HTML and escapes certain entities.

Parameters

html_string

The HTML string to be encoded.

auto_links
conv_br

Return Values

Returns the encoded HTML string.