Power automate html to text line breaks
Hi, Guys. Show
When using "HTML to Text", line breaks and spaces become abnormal. blah-blah-blah blah-blah-blah blah-blah-blah 2019/06/11 18:57:30 System_error_5_occurred 525866,AABBCCDDEEFFGGHH 2019/07/19 21:49:13 System_error_5_occurred 535896,OOKKOOOONJJJOOOO 2019/08/25 13:38:34 System_error_5_occurred 596322,PPKKOKKKKKKMNJJK 2020/01/01 13:30:27 System_error_5_occurred 574147,OOKKAAAAAAAAAAAA blah-blah-blah blah-blah-blah blah-blah-blah If you do conversion, the space will disappear or you may end up with unusual newlines at unwanted locations. blah-blah-blah blah-blah-blah blah-blah-blah 2019/06/11 18:57:30 System_error_5_occurred 525866,AABBCCDDEEFFGGHH2019/07/19 21:49:13 System_error_5_occurred 535896,OOKKOOOONJJJOOOO2019/08/25 13:38:34 System_error_5_occurred 596322,PPKKOKKKKKKMNJJK2020/01/01 13:30:27 System_error_5_occurred 574147,OOKKAAAAAAAAAAAAblah-blah-blah blah-blah-blah blah-blah-blah I want to keep my shape even after conversion if I can do it. For example ... 2019/06/11 18:57:30 System_error_5_occurred 525866,AABBCCDDEEFFGGHH Thanks. HI @RLSid17 Can you check something for me? In the long string that has the whole email, can you localize the "Ceiling is leaking" and check if the character is precise "\n"? For example, it could be If not, can you please copy the small HTML section so we can replicate it and try to help you? Cheers ------------------------------------------------------------------ There are times when HTML is not helpful, being for parsing the text or saving it. Removing HTML tags is a pain; that’s why the “HTML to Text” action is a god-send. It removes the HTML tags and presents us with the “raw” text that we can use to do whatever we want. Let’s explore it. Where to find it?You can find it under Standard. “Content Conversion” Here’s what it looks like. Pro Tip: UsageYou can use any element to add to the “HTML to text” action. For example, a trigger parameter, variable, compose or even provide yourself the raw HTML in the field. LimitationsThere are a few things to keep in mind. First in the conversion and then in the size of the HTML. Conversion limitationsI’ll list them as they are in Microsoft’s Reference and then provide some context:
|