- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2024 10:05 PM - edited 08-15-2024 02:00 AM
Hi Team,
We are trying to add font to the email from email script, the font style and size which is there in the notification is not getting applied to the contents from email script, Hence we tried to give the font style and size from email script.
The issue is the style and size are now applicable only for the first line of the comment.
Can anyone please help us to resolve this issue.
Given the code and output below,
here in the first comment, the first line is following the style but not the 2nd line.
Thanks in Advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 02:16 AM
Hi Mark ,
Few hours back we fixed the issue by iterating the comment value, if we have more than one line.
Thanks for your time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 02:08 AM
This is weird, because your code puts the entire 'value' inside the correct format and there is no other format coming in that could collide with your code. I would create a case with ServiceNow for this.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 02:16 AM
Hi Mark ,
Few hours back we fixed the issue by iterating the comment value, if we have more than one line.
Thanks for your time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 02:37 AM
Thanks! That was not something I thought would be necessary when putting a field value in your script.
Can you accept your own answer as the correct one? That will help people to find the solution when they encounter the same.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 02:40 AM
sure , done that