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 control not ...
Power Apps
Answered

HTML Text control not recognizing carriage returns

(0) ShareShare
ReportReport
Posted on by 443

I have a HTML Text control in a form (set to DisplayMode.View) that is pulling it's value from a multi-line text column in a SharePoint list (via a Gallery).  When it displays the value (using PlainText) it does not honor the record's carriage returns (ie multiple lines).

So, when the value in the list looks like:

 

Line one

Line two

Line three

 

The HTML Text control shows it as:

 

Line one Line two Line three

 

Does anyone know of a property or workaround to get it to display properly?

 

Thanks.

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

    Hi @lumberjacklurch

     

    I'm not sure there is an easier way to do this, but you can substitute in a <BR> Tag if you are using an HTML box.

     

    Substitute(PlainText(TextInput3.Text),Char(10),"<br/>")

    A work around until someone smarter pops in.

     

    Thanks,
    Nicky

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard