Strips all tags and attributes not allowed by the Safe HTML level, when called from a snippet procedure.
Safe HTML is stricter than the default Web Snippets HTML level applied to Html columns.
Note that the return value is not the stripped HTML, but a placeholder that will be replaced by the web server. Also note that this function does not support nested calls.
DECLARE @UnsafeHtml varchar(MAX) = '<input type="submit">'; SELECT CONCAT('<em>', SoftadminSnippet.Html_StripUnsafeTags(@UnsafeHtml), '<\em>') AS Html;