Hello everyone,
I am seeking help with an issue related to HTML to plain text conversion using Html to text (Preview) action in Power Automate. My input HTML, when converted to plain text, is producing unusual line breaks represented as "\n".
Here's a sample of my Input and Output:
Input:
<p>CompanyXYZ managed the construction of Building123. At a significant height, the structure was one of the tallest residential buildings in the region at the time of completion. Located in one of the city's most desired neighborhoods, the large square foot footprint boasts over a substantial amount of contiguous feet of frontage on Main Street, alongside some of the most prestigious retail space in the city.</p>
Output:
CompanyXYZ managed the construction of Building123. At a significant height, the\nstructure was one of the tallest residential buildings in the region at time\nof completion. Located in one of the city's most desired neighborhoods, the\nlarge square foot footprint boasts over a substantial amount of contiguous feet of\nfrontage on Main Street, alongside some of the most prestigious retail\nspace in the city.\n
So here, the newline characters that appear between "the" and "structure", "time" and "of", and "retail" and "space" are unwanted.
I am aware that I could use a replace function to replace the "\n" with a space, but that approach also replaces the actual line breaks that I need to keep. I am looking for a method that can distinguish between these "unusual" newline characters and the intentional ones in the original HTML.
Any help or guidance on how to achieve this within Power Automate would be greatly appreciated.
Thanks in advance!


Report
All responses (
Answers (