NetTalk Central

Author Topic: Convert Line Breaks in Standard Text to HTML  (Read 3577 times)

rupertvz

  • Sr. Member
  • ****
  • Posts: 323
    • View Profile
    • Email
Convert Line Breaks in Standard Text to HTML
« on: September 26, 2016, 04:32:10 AM »
Hi Guys,

Is there a function that could convert <13,10> line breaks in standard text to <br> line breaks in HTML?

Thank you!

Matthew51

  • Full Member
  • ***
  • Posts: 152
    • View Profile
    • Email
Re: Convert Line Breaks in Standard Text to HTML
« Reply #1 on: September 26, 2016, 01:51:00 PM »
Code: [Select]
StringTheory.Replace('<13,10>', '<<br>')
Contractor with 10+ years of NetTalk experience looking for work.
www.linkedin.com/in/matthew-leavitt
BisWare.ca
Check out my free EasyTime Template

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 430
    • View Profile
    • Email
Re: Convert Line Breaks in Standard Text to HTML
« Reply #2 on: September 27, 2016, 01:11:16 AM »
In XHTML, the <br> tag must be properly closed, like this: <br />.