Best answer

How do I format description in GCal from html to plain text?

  • 15 November 2021
  • 3 replies
  • 160 views

I have a zap that sends the description of my gcal to print on my printer. 

I have it set for plain text but it printed looking like an html. 

How do I get it to print in the same format that it is in the description on gcal?

icon

Best answer by Troy Tessalone 15 November 2021, 19:37

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +14

Hi @zeno.of.athens 

Try adding a Formatter > Text > Remove HTML Tags step to your Zap.

Thanks you so much! That got rid of the html. 

now any idea how to format it so it prints like this 

 

1. Write emails 
2. Publish emails 
3. Email 2 organizers
4. Review Ron Feedback
--------
1 - reach out to referral partners

2 - Reach out to past clients

-------

Kettle bell swings 10 x 10 squats x 5 lunges

And not this

1. Write emails 2. Publish emails 3. Email 2 organizers4. Review Ron Feedback--------1 - reach out to referral partners2 - Reach out to past clients-------Kettle bell swings 10 x 10 squats x 5 lunges

Userlevel 7
Badge +14

@zeno.of.athens 

Advanced approach would be to use a Code step to regex replace all instances of certain HTML tags with line breaks.

<p> - paragraph
<br> - line break
<div> - divider