cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

HTML Text control not recognizing carriage returns

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Continued Contributor
Continued Contributor

Re: HTML Text control not recognizing carriage returns

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

View solution in original post

1 REPLY 1
Highlighted
Continued Contributor
Continued Contributor

Re: HTML Text control not recognizing carriage returns

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

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (7,811)