Pike v8.0 release 1738

Method Parser.encode_html_entities()


Method encode_html_entities

string encode_html_entities(string raw)

Description

Encode characters to HTML entities, e.g. turning "<" into "&lt;".

The characters that will be encoded are characters <= 32, "\"&'<>" and characters >= 127 and <= 160 and characters >= 255.