Class: trustHtmlAutoFilter filter:ngeoTrustHtmlAuto

ngeo.misc.module:filters.trustHtmlAutoFilter

new trustHtmlAutoFilter($sce, ngeoStringToHtmlReplacements)

A filter to mark a value as trusted HTML, with the addition of automatically converting any string that matches the StringToHtmlReplacements list to HTML.

Usage:

If you use it, you don't require the "ngSanitize".

Parameters:
Name Type Description
$sce angular.$sce

Angular sce service.

ngeoStringToHtmlReplacements !Array.

List of replacements for string to html.

Returns:
function(?):string

The filter function.