foundeo / toscript

Converts Tag based CFML to CFML Script
GNU General Public License v3.0
20 stars 9 forks source link

Quoted quotes breaks conversion #33

Open chapmandu opened 7 years ago

chapmandu commented 7 years ago

It seems that the single quote contained in double quotes is preventing the code afterward from being converted.

<cfset foo = get(where="mycolumn IN (#ListQualify(myList, "'")#)")>
<cfif true>
    <cfset bar = false>
</cfif>

converts to:

foo = get(where="mycolumn IN (#ListQualify(myList, "'")#)")>
<cfif true>
    <cfset bar = false>
</cfif;
pfreitag commented 7 years ago

Thanks, I have confirmed this is a bug, I will look into this when I have some time to address it.