Additional Notes in Google Calendar Displays HTML

Casey Perno shared this problem 4 years ago
Solved

Pretty much what the title says. I was hoping to push Additional Notes 2 directly to Google Calendar for quick and easy reference notes but it seems Google doesn't parse out the <br />. It also doesn't seem to recognize the <a> tag for *contract_url*. See lead# 678275

Best Answer
photo

I think this might be an issue we won't be able to do much about given that it's on Google's handling of our text. Sorry

Comments (5)

photo
1

I think this might be an issue we won't be able to do much about given that it's on Google's handling of our text. Sorry

photo
1

Just a thought without actually seeing the issue or knowing how IO passes the info to Google. When IO passes the info out of IO, can the process do a Javascript .replace on the special characters and see if Google handles that - like assuming the text is a variable called AdditionalNotes2, AdditionalNotes2.replace(/&/g,'&').replace(/"/g,'"').replace(/</g,'<').replace(/>/g,'>')


Might be worth a try!

photo
1

actually I see that your comments tool did its own replacing!!


  1. AdditionalNotes2.replace(/&/g,'&').replace(/"/g,'"').replace(/</g,'<').replace(/>/g,'>')

photo
1

crap - still did it even when I put the replace in a code block!!


I added some spaces in the replacements to get it to show for the last two replacements


< becomes '& lt;'

> becomes '& gt;'


just drop the spaces!

photo
1

There isn't anything we can do... It looks like google doesn't support html code in the calendar notes. We pass the data directly to their calendar API.