Using html tag in email template
-
Hi
I’m using my own email templates in a child theme, and having recently updated Woocommerce and copied the new templates over, I’ve lost the bold & line break formatting that I had, presumably because
p><?php printf( __( “Thank you – your recent order . . .
has been changed to
<p><?php printf( esc_html__( ‘Thank you – your recent order . . .I’ve read up on esc_html, & from what I’ve understood, I think I can just revert to the previous non esc_html for those lines – but since I’m not an expert in this, I’d like to ask if I can. Or do I have to lose my formatting, as examples I’ve found of getting formatting in esc_html are beyond my skills!
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Using html tag in email template’ is closed to new replies.