How to use [strings.html-encode]

The reference page of strings.html-encode has its arguments, constraints and declaration.

HTML encodes a string, replacing characters such as <, >, & and " with their HTML entities. The slot takes a value, which can be a constant or an expression, and replaces its value with the encoded string.