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.

This slot HTML encodes text, turning for instance < into &lt;, which makes it safe to render inside HTML. Below is an example.

strings.html-encode:"<b>Hello & welcome</b>"