Hello Folks,
I have a flow, the HTML will convert into PDF. So I have a set of html elements and white spaces seems not working I have already tried the
Thanks @Sundeep_Malik @g1224 for the help! Appreciate it big time!
I'm creating the HTML elements in my PowerApps. (htmlText)
My flow is basically transferring the HtmlText in html file in my one drive. Once done it will start converting to PDF.
The output should be S T R I C L Y C O N F I D E N T I A L (have a multiple space in middle of two words.)
Hi again ! @philifova ,
Can you try putting the styles inside the pre tag ?
Like : <pre style="font-family:calibri;font-size:14pt;"....
Hey @philifova
Can you give an example how you want the white spaces. In my case I did this to get whitespaces:
This is my data:
Then used create html table action:
In the last one I did was:
item().A
' '
item().B
This is how I gave a space between them.
Output I got when I added the space:
Output without any space:
So, you can use the above method to add space. I hope it helps. 🙂
Hello!
I also need to retain the font design. Apparently the font and size changed.
with <pre> tag
w/o <pre> tag
here's the html code: <i><pre><h3 style='text-align: right; margin-top: -20px'> S T R I C L Y C O N F I D E N T I A L </h3></pre></i>
Can you try <pre> tag . Basically this preserves whitespaces in a text .
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."