Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Utility functions for sanitization of strings.
Replace characters by strings. For example:
let patterns = [('<', "<"); ('>', ">"); ('&', "&")] in
Escape.replace_chars ~src:line ~patterns