(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5)
ircg_html_encode — Encodes HTML preserving output
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.
The HTML string to be encoded.
Returns the encoded HTML string.