FW: We are definitely getting there with Oct 22 release

Dave,

We are definitely getting closer with the Oct 22 release!

I have run across a situation however with CFML support that I'm sure will
occur with other server-side scripting languages like
ASP and others. Consider the following CFML snippet:


<!--- dynamically populate drop down select box to allow users to search by
department --->
<P>
Department<BR>
<SELECT NAME="Department_Name">
		<OPTION VALUE="All">All</OPTION>
	<CFOUTPUT QUERY="GetDepartments">
		<OPTION VALUE="#Department_Name#">
		#Department_Name#
		</OPTION>
	</CFOUTPUT>
</SELECT>
</P>

At the server side, the CFML CFOUTPUT tag will process and generate a
dynamic Option list for every row in the SQL query's result
set.  This is fine and generates perfectly legit output HTML from Cold
Fusion Server, but HTML Tidy flags the CFOUTPUT as being
incorrect inside the SELECT construct and strips it out.

How about an option to shut off custom tag stripping completely and just
pass them through as is?

For everyone else that requested a CFML specific tidy config file, here's an
example (please excuse the cruddy word-wrapping)...

markup:yes
wrap:80
tab-size:2
indent:yes
indent-spaces:2
hide-endtags:no
input-xml:no
output-xml:no
output-xhtml:no
char-encoding:RAW
numeric-entities:no
quote-marks:yes
quote-ampersand:yes
quote-nbsp:yes
wrap-script-literals:no
uppercase-tags:yes
break-before-br:yes
uppercase-tags:yes
uppercase-attributes:yes
clean:yes
write-back:yes
show-warnings:yes
split:no
add-xml-pi:no
doctype:AUTO
fix-backslash:no
wrap-asp:yes
drop-font-tags:no
word-2000:no
error-file:TidyOut.log
new-inline-tags: CFELSE CFELSEIF
new-blocklevel-tags: CFABORT CFAPPLET CFAPPLICATION CFASSOCIATE
CFAUTHENTICATE CFBREAK CFCACHE CFCOL CFCOLLECTION CFCONTENT CFCOOKIE
CFDIRECTORY CFERROR CFEXIT CFFILE CFFORM CFFTP CFGRID CFGRIDCOLUMN CFGRIDROW
CFGRIDUPDATE CFHEADER CFHTMLHEAD CFHTTP CFHTTPPARAM CFIF CFELSEIF CFELSE
CFINCLUDE CFINDEX CFINPUT CFINSERT CFLDAP CFLOCATION CFLOCK CFMAIL CFMODULE
CFOBJECT CFOUTPUT CFPARAM CFPOP CFQUERY CFREGISTRY CFREPORT CFSCHEDULE
CFSCRIPT CFSEARCH CFSELECT CFSETTING CFSLIDER CSWITCH CFCASE CFDEFAULT
CFTABLE CFTEXTINPUT CFTHROW CFTRANSACTION CFTREE CFTREEITEM CFTRY CFCATCH
CFUPDATE CFWDDX
logerrors:yes
runsilently:no

	

Received on Friday, 29 October 1999 10:30:31 UTC