[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
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:
$Quit, $CloseDatabase corrections (1997)
Nested tags count question (1997)
Quit revisited (1997)
WebCat2b13MacPlugIn - [include] (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
A quickie question (1997)
[sendmail] on NT? (1997)
RE: [WebDNA] Good advise on [Showif] or alternative... (2012)
[WebDNA] contents of db files disappearing including triggers.db (2019)
hyperlinking unique input strings on the fly when displaying in HTML (2000)
Web Catalog 2 demo (1997)
Tax Troubles (2003)
WebTen? (1997)
A question on sub-categories (1997)
Banners (1997)
matching shipto and others (1998)
Linux vs Jaguar (OSX) (2002)
Using WC for Bulk Emailings (1997)
founditem align (1998)
AutoCommit Preference? (1998)