DOKK / manpages / debian 11 / libkinosearch1-perl / KinoSearch1::Highlight::SimpleHTMLEncoder.3pm.en
KinoSearch1::Highlight::SimpleHTMLEncoder(3pm) User Contributed Perl Documentation KinoSearch1::Highlight::SimpleHTMLEncoder(3pm)

KinoSearch1::Highlight::SimpleHTMLEncoder - encode a few HTML entities

    # returns '"Hey, you!"'
    my $encoded = $encoder->encode('"Hey, you!"');

Implementation of KinoSearch1::Highlight::Encoder which encodes HTML entities. Currently, this module takes a minimal approach, encoding only '<', '>', '&', and '"'. That is likely to change in the future.

Copyright 2006-2010 Marvin Humphrey

See KinoSearch1 version 1.01.

2020-11-09 perl v5.32.0