Hi all,
I've got a flow set up that is looking up the contents of a text file, and then i'm taking that and composing an email with it using "Send an email(V2)"
the source files are formatted in unicode, and, while i found information on how to re-encode line breaks to HTML, i haven't found a way to preserve tabs.
An example of my text looks like:
"
CHILLED WATER PUMP AT AG HALL WILL NOT RUN!!
A. MON - FRI 5PM-MIDNIGHT OR SAT & SUN 8AM-MIDNIGHT, CONTACT THE
ELECTRICAL TROUBLE TRUCK OPERATOR.
B. ALL OTHER HOURS REFER TO THE AFTER HOURS CALL-IN LIST FOR CENTRAL CONTROL.
C. IF CENTRAL CONTROL CAN NOT BE REACHED CALL REFRIGERATION ON CALL PHONE
D. IF NONE OF THE ABOVE CAN BE REACHED CALL ONE OF THE FOLLOWING:
1. BOB AT , OR
2. STACY AT
"
with the following formatting:
now, i found a number of articles covering line breaks, and i'm using an expression to deal with those:
uriComponenttostring(replace(uriComponent(outputs('Get_file_content_using_path')?['body']),'%0A','<br/>'))
But i'm not sure how to deal with the Tabs. i think the tab is %91 but i don't know the HTML equivalent? I think i could use something like:
uriComponenttostring(replace(uriComponent(outputs('Get_file_content_using_path')?['body']),'%0A','<br/>')replace(uriComponent(outputs('Get_file_content_using_path')?['body']),'%91',''))
thoughts?
Thanks,
Jared
User | Count |
---|---|
88 | |
39 | |
23 | |
20 | |
16 |
User | Count |
---|---|
127 | |
49 | |
46 | |
31 | |
25 |