preserveSingleQuotes

Overview ColdFusion Open BlueDragon Lucee

Prevents CFML from automatically escaping single quotation mark characters that are contained in a variable. CFML does not evaluate the argument. Note: ColdFusion automatically escapes simple-variable, array-variable, and structure-variable references within a cfquery tag body or block.

Attributes

Name Required Type Default Description
string No
variable Yes String Variable that contains a string in which to preserve single quotation marks.