 			arguments.append = EncodeForHtml($canonicalize(arguments.append));
 		}
 	}
+	arguments.encode = IsBoolean(arguments.encode) && !arguments.encode ? false : true;
 
 	if (StructKeyExists(request.wheels, "currentFormMethod")) {
 		StructDelete(request.wheels, "currentFormMethod");

 * @append [see:textField],
 * @encode [see:styleSheetLinkTag].
 */
public string function endFormTag(string prepend, string append, boolean encode) {
	$args(name="endFormTag", args=arguments);

	// Encode all prepend / append type arguments if specified.
	if (arguments.encode && $get("encodeHtmlTags")) {
		if (Len(arguments.prepend)) {
			arguments.prepend = EncodeForHtml($canonicalize(arguments.prepend));
		}

			arguments.append = EncodeForHtml($canonicalize(arguments.append));
		}
	}
	arguments.encode = IsBoolean(arguments.encode) && !arguments.encode ? false : true;

	local.rv = arguments.prepend;
