NetTalk Central

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

rupertvz

  • Sr. Member
  • ****
  • Posts: 314
    • 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: 151
    • 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: 420
    • 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 />.