Repost: [convertwords] to convert carriage return?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 36129
interpreted = N
texte = So this is my only solution, then? In my tests, I'm not even pulling [story] from a database yet -- it's from a form submission on the previous page.On 8/10/00 10:34 am, Rob Marquardt so noted...>Ah, the good old conversion of carriage returns! : ) > >I have a news database (entered by the user through a textarea) that I >want to allow some basic, UBB-style formatting on in addition to swapping >out the carriage returns with HTML paragraph tags. I set up a database to >use with [convertwords] as follows... > >---- file: newsConversion.db ---- >from to >%0D

>[b] >[/b] >[i] >[/i] > >Now when put into practice, the bold and italic formatting worked great, >but the returns were ignored completely! (I also tried using %0D%0A) I >took the %0D

out into its own separate database and used it >with [convertchars] and *then* the returns got replaced properly. Don't >tell me I have to use the ugly... > >[convertwords db=newsConversion.db][convertchars >db=newsParagraphConversion.db][story][/convertchars][/convertwords] > >... (which, admittedly, does work) to get the job done? Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Repost: [convertwords] to convert carriage return? (WebDNA Support 2000)
  2. Re: Repost: [convertwords] to convert carriage return? (Kenneth Grome 2000)
  3. Repost: [convertwords] to convert carriage return? (Rob Marquardt 2000)
So this is my only solution, then? In my tests, I'm not even pulling [story] from a database yet -- it's from a form submission on the previous page.On 8/10/00 10:34 am, Rob Marquardt so noted...>Ah, the good old conversion of carriage returns! : ) > >I have a news database (entered by the user through a textarea) that I >want to allow some basic, UBB-style formatting on in addition to swapping >out the carriage returns with HTML paragraph tags. I set up a database to >use with [convertwords] as follows... > >---- file: newsConversion.db ---- >from to >%0D

>[b] >[/b] >[i] >[/i] > >Now when put into practice, the bold and italic formatting worked great, >but the returns were ignored completely! (I also tried using %0D%0A) I >took the %0D

out into its own separate database and used it >with [convertchars] and *then* the returns got replaced properly. Don't >tell me I have to use the ugly... > >[convertwords db=newsConversion.db][convertchars >db=newsParagraphConversion.db][story][/convertchars][/convertwords] > >... (which, admittedly, does work) to get the job done? Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Rob Marquardt

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCatalog Plug-in for Webstar. (1997) [WebDNA] seconds_to_time (2017) carriage returns in data (1997) Search Context Strips URL chrs.? (1999) Re:2nd WebCatalog2 Feature Request (1996) Searching multiple fields (1997) How to include weather (2000) Search returns all, not 20 (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) convertchars and e-mail (1998) Sorting problem (1997) Now you see it now you donīt (1997) page redirect in webDNA (1997) OBDC Support (1997) not interpreting Q (2001) CGI Request Time Out (1997) [append] and SSL (1997) Problems with [Applescript] (1997) WC2b15 File Corruption (1997) Multiple Ad databases? (1997)