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 Apps / HTML Text removes line...
Power Apps
Answered

HTML Text removes line breaks & Text Input direction is only ltr

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello!

I have a powerapp that takes data from a powerapps form, sends it to a sharepoint list, and then shows it on a different screen. My problem is this - when I use 'HTML Text' to view a long text (2 or 3 paragraphes), all the line breaks get jammed and the entire text is without linebreaks.

 

When I switch to regular 'Text Input' the line breaks are perfect - but I can't find a way to change the direction of the text to rtl (not align - direction), which makes it impossible to read text in hebrew and english combined (which is a major need in my powerapps). That problem I managed to solve inside 'HTML Text' by writing:

"<div style=direction:rtl;text-align:right>" & TextInput4.Text & "</div>"

But that won't work inside the 'Text Input'.

 

So in conclusion, I need only one solution - Either for linebreak in 'HTML Text' or text direction in 'Text Input'.

 

Thanks in advance,

Eitan.

Categories:
I have the same question (0)
  • Verified answer
    jhall Profile Picture
    636 on at

    Might want to do a substitute on the text value to replace the default (e.g. Char(10)) with an HTML appropriate break (e.g. <br>).

     

    See a detailed discussion here.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you very much! Worked

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Worked perfectly for me.  Thanks Jhall!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard