• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: escaping in HTML
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: escaping in HTML


  • Subject: Re: escaping in HTML
  • From: John Huss <email@hidden>
  • Date: Fri, 6 Mar 2009 10:24:58 -0600

How about using string.replace("\n", "<br/>")

John

On Fri, Mar 6, 2009 at 10:09 AM, Theodore Petrosky <email@hidden> wrote:

I know I saw an example somewhere... I just can't seem to find it again.

I have text from my database that has returns (line feeds). If I just bind the text to a WOText area, the CRs and LFs are ignored.

Can someone point me in the right direction.

I need to convert the CR to <BR />...

Ted



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: escaping in HTML
      • From: Miguel Arroz <email@hidden>
References: 
 >escaping in HTML (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: escaping in HTML
  • Next by Date: migrate a project to eclipse 3.4.x and new wolips 3.4.x
  • Previous by thread: escaping in HTML
  • Next by thread: Re: escaping in HTML
  • Index(es):
    • Date
    • Thread