I am trying to use php esc_html_e with a inside and must be missing something since I cant get it to work. My code is simple and is:
<p><?php esc_html_e('You are not logged in. <a href="/my-account/">Log in</a> or create an account to see questions and answers about this rental', 'dc-woocommerce-multi-vendor'); ?></p>
The above results in an output of You are not logged in. <a href="/my-account/">Log in</a> or create an account to see questions and answers about this rental
on the page. What is it I am missing here?