LPS-38443 Fixes improper markup when data-title contains html