web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to avoid extra spa...
Power Automate
Suggested Answer

How to avoid extra spaces on last line of justified text in Word via Power automate online

(1) ShareShare
ReportReport
Posted on by
I'm using Power Automate to generate Word documents with content set to justified alignment. In my flow, I insert line breaks in the text using decodeUriComponent("%0A%0A") to separate paragraphs. However, this causes the last line of each paragraph to stretch with extra spaces across the entire line (see attached screenshot).
I want to avoid this awkward spacing but keep the text justified (not switch to left alignment). Is there a way to insert line breaks or paragraph breaks so that the last line of a justified paragraph does not stretch?
Would using a single line break (%0A or %0D%0A) instead of double line breaks help, or is there a better approach to create a "soft return" in this context?
Thanks in advance for any advice!
I have the same question (0)
  • Suggested answer
    trice602 Profile Picture
    16,294 Super User 2026 Season 1 on at
    HI there!
     
    Please try this for a paragraph break and let us know if this solves for you!
     
    decodeUriComponent("%0D%0A%0D%0A")
     

    ------------------------------------------------

     

     

    ⭐ If this was helpful, please like and check the box below "Does this answer your question" to help others find this too!

     

     

    Always glad to help! 💯💯💯💯💯

     

    Tom

     

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 460

#2
Vish WR Profile Picture

Vish WR 343

#3
David_MA Profile Picture

David_MA 249 Super User 2026 Season 1

Last 30 days Overall leaderboard