Highlight does not work when special function is used

Just noticed that “Highlight data in data fields” option (in Q&A) appears not to be working (i.e. not highlighting the data fields) when the data field is used with @capitalize-words function.

That’s expected behaviour actually.

You should see it as a fairly simple way to show fields that act as placeholders that are directly mapped to certain datafields.

The highlighting only happens for datafields that are inserted as-is into the final document, without any manipulation at all (even if as limited as a capitalization).

Understood. Thank you.