ocean.text.entities.HtmlEntityCodec

Html entity en/decoder.

Example usage:

import ocean.text.entities.HtmlEntityCodec;

scope entity_codec = new HtmlEntityCodec;

char[] test = "hello & world © ß Ȱ'";

if ( entity_codec.containsUnencoded(test) )
{
    char[] encoded;
    entity_codec.encode(test, encoded);
}

Members

Aliases

HtmlEntityCodec
alias HtmlEntityCodec = MarkupEntityCodec!(HtmlEntitySet)

Class to en/decode html entities.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).