pike.git / lib / modules / Parser.pmod / module.pmod

version» Context lines:

pike.git/lib/modules/Parser.pmod/module.pmod:378:    return p;    }();      HTML html_entity_parser(void|int noerror)   {    return (noerror?entityparser_noerror:entityparser)->clone();   }      string parse_html_entities(string in,void|int noerror)   { -  return html_entity_parser(noerror)->finish(in)->read(); +  return string_filter_non_unicode(html_entity_parser(noerror)->finish(in)->read());   }      protected mapping(int:string) rev_html_entities;      //! Encode characters to HTML entities, e.g. turning @expr{"<"@} into   //! @expr{"&lt;"@}.   //!   //! The characters that will be encoded are characters <= 32,   //! @expr{"\"&'<>"@} and characters >= 127 and <= 160 and characters   //! >= 255.