Any field that is uses in the advanced title field, which returns any HTML is being stripped. This happens because a hook to the asp_cpt_advanced_field_value is incorrectly attached, and is affecting both the title and content fields.
To Reproduce
Steps to reproduce the behavior:
Use the {_price_html} field on the title field
The first result title contains the HTML tags correctly
Describe the bug
Any field that is uses in the advanced title field, which returns any HTML is being stripped. This happens because a hook to the
asp_cpt_advanced_field_value
is incorrectly attached, and is affecting both the title and content fields.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The title should not be affected by the hook.
Additional context
Reference ticket.