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 Link to comment Share on other sites More sharing options...
requinix Posted May 8, 2018 Share Posted May 8, 2018 HTML doesn't do backslashes for escaping characters. You have to use an entity for it. 'label' => __( 'Title 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.