toolman Posted May 8, 2018 Share Posted May 8, 2018 Hi, I'm trying to escape the following: 'label' => __( 'Title <span class="tooltips" title="Give your title a catchy title, ideally starting with the word \"test"\> All it is displaying is a backslash. Any ideas why this is? Thanks Quote Link to comment Share on other sites More sharing options...
Solution requinix Posted May 8, 2018 Solution Share Posted May 8, 2018 HTML doesn't do backslashes for escaping characters. You have to use an entity for it. 'label' => __( 'Title Quote Link to comment Share on other sites More sharing options...
toolman Posted May 8, 2018 Author Share Posted May 8, 2018 Thank you! It worked Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.