1 CREATE OR REPLACE FUNCTION escape_html(_unescaped text) RETURNS text
5 _unescaped := replace(_unescaped, '&', '&');
6 _unescaped := replace(_unescaped, '"', '"');
7 _unescaped := replace(_unescaped, '<', '<');
8 _unescaped := replace(_unescaped, '>', '>');
12 LANGUAGE plpgsql IMMUTABLE;