StaticformatRenders the Mustache layout with provided contextual variables.
The markdown/HTML layout.
Optionaldata: {}The variables context map.
Parsed output string.
StaticformatCleans all HTML tags from the title string. This uses a robust, RegExp-free state loop to prevent any risk of Regular Expression Denial of Service (ReDoS) or catastrophic backtracking, fully satisfying SonarQube security rules.
The raw subject line containing potential HTML tags.
The formatted title string with all HTML tags stripped out.
Specialized utility handling string cleanup and Mustache interpolation for templates.