We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The convertOperators function does not discriminate between what is code and what is not, which results in the issue demonstrated below.
convertOperators
<cfset variables.message = "This is not supposed to be converted"> converts to variables.message = "This != supposed to be converted";
<cfset variables.message = "This is not supposed to be converted">
variables.message = "This != supposed to be converted";
The text was updated successfully, but these errors were encountered:
Additional examples:
<cfset foo = "I love my GT Falcon"> <cfset bar = "Rick and Morty">
converts to
foo = "I love my > Falcon"; bar = "Rick && Morty";
Sorry, something went wrong.
Thanks for reporting this, for sure a bug that needs to be addressed.
Bump?
I've had a few gnarly instances when converting string literal SQL statements.. eg:
where = "userid = 1 AND isdeleted = 1" becomes where = "userid = 1 && isdeleted = 1"
Same with OR becomes ||
OR
||
As always, appreciative of this awesome free tool.
Another example:
<cfset variables.test = "this or that">
Haven't had the time to fix this yet!
No branches or pull requests
The
convertOperators
function does not discriminate between what is code and what is not, which results in the issue demonstrated below.<cfset variables.message = "This is not supposed to be converted">
converts to
variables.message = "This != supposed to be converted";
The text was updated successfully, but these errors were encountered: