|
|
RB update up on the Adobe download pageThe Adobe download page has been updated with the Report Builder fixes mentioned in the previous post. Namely, parameter errors going into and out of the Query Builder and the Query Builder losing information you had typed in when you came back into the Query Builder "SQL" mode. You can download the updated version from here (build number 144677): http://www.adobe.com/support/coldfusion/downloads.html |
|
| BlogCFC was created by Raymond Camden. This blog is running version 5.8.001. | |
Anyone got round to playing with RB8? Having issues similar to the RB7 where it loses any code written in the advanced SQL mode. It doesn't crash, just ignores the information and assumes nothing has been typed.
Cheers
Jim
<cffunction name="tagStripper" access="public" output="true" returntype="string">
<cfargument name="htmlDocument" required="YES" type="string">
<cfargument name="exceptions" required="no" type="string">
<cfset var returnString = arguments.htmlDocument />
<cfloop list="#arguments.exceptions#" index="goodTag">
<cfset returnString = REReplaceNoCase(returnString, "</#goodTag#>" , "_!_[P_!_/#goodtag#_!_P]_!_", "all") />
<cfset returnString = REReplaceNoCase(returnString, "<#goodTag#\b[^>]*>" , "_!_[P_!_#goodtag#_!_P]_!_", "all") />
</cfloop>
<cfset returnString = REReplaceNoCase(returnString, "<[^>]*>" , "", "all") />
<cfset returnString = replaceNoCase(returnString, "_!_[P_!_" , "<", "all") />
<cfset returnString = replaceNoCase(returnString, "_!_P]_!_" , ">", "all") />
<cfset returnString = ReReplace(returnString, " "," ", "ALL") />
<cfset returnString = ReReplace(returnString, "•"," * ", "ALL") />
<cfset returnString = ReReplace(returnString, "‹","<", "ALL") />
<cfset returnString = ReReplace(returnString, "›",">", "ALL") />
<cfset returnString = ReReplace(returnString, "™","(tm)", "ALL") />
<cfset returnString = ReReplace(returnString, "⁄","/", "ALL") />
<cfset returnString = ReReplace(returnString, "<","<", "ALL") />
<cfset returnString = ReReplace(returnString, ">",">", "ALL") />
<cfset returnString = ReReplace(returnString, "©","(c)", "ALL") />
<cfset returnString = ReReplace(returnString, "®","(r)", "ALL") />
<!--- Remove all others. More special character conversions can be added above if needed --->
<cfset returnString = ReReplace(returnString, "&(.{2,6});", "", "ALL") />
<cfreturn returnString />
</cffunction>
<P ALIGN="LEFT"><FONT SIZE="3" COLOR="#FF0000">Trust Company <B>Superannuation</B> Services Limited (TCSSL) is the Trustee of the Fund</FONT></P>
But the font size and colour specs are ignored. I have placed the word Superannuation in bold to prove that the field really is XHTML and this along with underlining, etc. render correctly. Any thoughts please?