Underscore (_) in b/w survey emojis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 08:16 PM
Hi Team ,
There is underscore (_) symbol is coming in b/w the emojis . This is my code where i need to update , so that we can't see underscore .
NOTE - Gap should there b/w emojis .
template.print('<a href="' + gs.getProperty('glide.servlet.uri') + '/esc?id=take_survey&instance_id=' + surv.sys_id + '"><img src="verysat.png" width="50" height="50"/> </a>');
template.print('<a href="' + gs.getProperty('glide.servlet.uri') + '/esc?id=take_survey&instance_id=' + surv.sys_id + '"><img src="satisfied_1.png" width="50" height="50"/> </a>');
template.print('<a href="' + gs.getProperty('glide.servlet.uri') + '/esc?id=take_survey&instance_id=' + surv.sys_id + '"><img src="neutral_1.png" width="50" height="50"/> </a>');
template.print('<a href="' + gs.getProperty('glide.servlet.uri') + '/esc?id=take_survey&instance_id=' + surv.sys_id + '"><img src="dissat_1.png" width="50" height="50"/> </a>');
template.print('<a href="' + gs.getProperty('glide.servlet.uri') + '/esc?id=take_survey&instance_id=' + surv.sys_id + '"><img src="verydisat.png" width="50" height="50"/> </a>');
Email is triggering like this
Thanks In advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 10:37 PM - edited 07-26-2023 10:38 PM
Hi, this looks to be an html issue and I would suspect it's confused by the inclusion of the   within the href attribute - you can reproduce it here W3Schools Tryit Editor
How about adding the spaces via separate template.print()
this works in the w3schools test editor.
Edit:
or in the existing template.print but outside of the href tags
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 11:59 PM
I have tried as per your link .
could you please update in my code , so that i can follow the same
template.print('<a href="' + gs.getProperty('glide.servlet.uri') + '/esc?id=take_survey&instance_id=' + surv.sys_id + '"><img src="verysat.png" width="50" height="50"/></a>');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2023 12:03 AM
I would simply try something like this
template.print('<a href="' + gs.getProperty('glide.servlet.uri') + '/esc?id=take_survey&instance_id=' + surv.sys_id + '"><img src="verysat.png" width="50" height="50"/></a>');
template.print('&nspb');
and if it doesn't work try encapsulating &nspb in <p>&nspb</p> or something similar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2023 02:16 AM