>[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 MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
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 MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list DOWNLOAD WEBDNA NOW! 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...
Top Articles:
Talk List
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)