The characters valid in HTML can be escaped with the escape filter.
An example is when the First name field of the contacts is checked. If any contains an HTML character (e.g. <), it will be treated as a simple string.
{{ "< '"|escape }}
Please note that escape can be abbreviated to e.
{{ "< '"|e }}