cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
rgghlm
Level: Powered On

line break in html

 Hello,

 

I'm trying to get the planner task description (including the line break) into an email. The output from the create HTML table is what I want to place in the email. When the output is inserted in the send an email, it does not copy the line break

 

output 1.PNGOutput from Create HTML Table

 

email output

output 2.PNGOutput from Send email

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: line break in html

Hi

In the meanwhile, did you try this workaround?

Flow_NewLineHTMLTable.png

 

I just added a New Line (hitting Enter) as input to my 'Compose NewLine' , next I apply a replace() in my 'Compose HTML table'. THen I use 'Compose HTML table' as the input to my email body. Haven't tested it with planner yet, but when source is SP list it works like a charm

Hope this hlps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

3 REPLIES 3
Super User
Super User

Re: line break in html

Hello,
Unfortunately there is no way to natively format the HTML table once created by the action Create HTML.

There is a similar request on Flow Ideas Forum.
Please vote for this feature here at:
https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Formatting-Create-HTML-Table-Action-with-HT...

I just voted.

—Josh
If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others




Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!





Dual Super User
Dual Super User

Re: line break in html

Hi

In the meanwhile, did you try this workaround?

Flow_NewLineHTMLTable.png

 

I just added a New Line (hitting Enter) as input to my 'Compose NewLine' , next I apply a replace() in my 'Compose HTML table'. THen I use 'Compose HTML table' as the input to my email body. Haven't tested it with planner yet, but when source is SP list it works like a charm

Hope this hlps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

Dual Super User
Dual Super User

Re: line break in html

@rgghlm 

Thanx for your kindness! Sure the time you spent marking this thread as solved will be useful for other members of the community in the future

Glad it finally worked. Happy Flowing!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Helpful resources

Announcements
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,937)