RE: Why does this code disable styling?

2007-10-12 Thread Rick Faircloth
:[EMAIL PROTECTED] Sent: Friday, October 12, 2007 8:36 AM To: CF-Talk Subject: Re: Why does this code disable styling? do you always only have b .../b formatting in yout text, or can it be any html tag (hope not)? Azadi Rick Faircloth wrote: Hmmm... CF_REextract looks useful

Re: Why does this code disable styling?

2007-10-12 Thread Claude Schneegans
Hmmm... CF_REextract looks useful, but the problem is that I'd have to know enough regex to tell it what RE1 and RE2 should be. If I knew that, I could probably write the regex. Not really, because REextract needs much simpler regexp to do the job, so you only need to master the basic about

Re: Why does this code disable styling?

2007-10-12 Thread Azadi Saryev
effort. Thanks for the reference to CF_REextract, et al. They all look useful! Rick -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Thursday, October 11, 2007 5:37 PM To: CF-Talk Subject: Re: Why does this code disable styling? Know how to regex

RE: Why does this code disable styling? / Regex needed...

2007-10-11 Thread Rick Faircloth
Any Regex gurus care to lend a hand with this one? Rick -Original Message- From: Azadi Saryev [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 10, 2007 9:53 PM To: CF-Talk Subject: Re: Why does this code disable styling? use REReplace() with a regex to replace spaces only

Re: Why does this code disable styling?

2007-10-11 Thread Claude Schneegans
#replace(replace(get_events.event_description, #chr(13)#, br, All), #chr(32)#, nbsp;, All)# You are using unnecessary # in this expression, use instead: #replace(replace(get_events.event_description, chr(13), br, All), chr(32), nbsp;, All)# But it is not the source of your problem Anyway, the

RE: Why does this code disable styling?

2007-10-11 Thread Rick Faircloth
AM To: CF-Talk Subject: Re: Why does this code disable styling? #replace(replace(get_events.event_description, #chr(13)#, br, All), #chr(32)#, nbsp;, All)# You are using unnecessary # in this expression, use instead: #replace(replace(get_events.event_description, chr(13), br, All), chr

Re: Why does this code disable styling?

2007-10-11 Thread Claude Schneegans
Know how to regex that, Claude? Must not be simple. I'm too lazy, this is why I made CF_REextract. If I had to do it, I would use CF_REextract for sure. 1º get all strings outside tags and their location, 2 loop on the query backward and replace spaces in these strings See CF_REextract:

RE: Why does this code disable styling?

2007-10-11 Thread Rick Faircloth
, October 11, 2007 5:37 PM To: CF-Talk Subject: Re: Why does this code disable styling? Know how to regex that, Claude? Must not be simple. I'm too lazy, this is why I made CF_REextract. If I had to do it, I would use CF_REextract for sure. 1º get all strings outside tags

RE: Why does this code disable styling?

2007-10-11 Thread Rick Faircloth
[mailto:[EMAIL PROTECTED] Sent: Thursday, October 11, 2007 5:37 PM To: CF-Talk Subject: Re: Why does this code disable styling? Know how to regex that, Claude? Must not be simple. I'm too lazy, this is why I made CF_REextract. If I had to do it, I would use CF_REextract for sure. 1º get

Why does this code disable styling?

2007-10-10 Thread Rick Faircloth
Hi, all. In trying to tweak the display of some of my data in a textfield, I started using b style=color:red;/b to make my heading stand out from the text under the heading. All was working great until I added some code to try to get the browser to honor spaces created with the spacebar, like I

RE: Why does this code disable styling?

2007-10-10 Thread Jake Churchill
Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 10, 2007 5:28 PM To: CF-Talk Subject: Why does this code disable styling? Hi, all. In trying to tweak the display of some of my data

RE: Why does this code disable styling?

2007-10-10 Thread Rick Faircloth
;/codeSITE DEVELOPMENTcode/b/code ??? Rick -Original Message- From: Jake Churchill [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 10, 2007 6:43 PM To: CF-Talk Subject: RE: Why does this code disable styling? This might not be relevant but, what is returned

Re: Why does this code disable styling?

2007-10-10 Thread Azadi Saryev
: Wednesday, October 10, 2007 6:43 PM To: CF-Talk Subject: RE: Why does this code disable styling? This might not be relevant but, what is returned by get_events.event_description? If it is some type of HTML such as span style=font-weight:normal; color:black;.../span then it will overwrite the b