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
Hi,
I found that the converter systhematically missed ternary operator in ASPX.
Here is a source fragment
<th align="center" style="width: 12%" class="<%=tableWrapper.Column == "value" ? "selected" : "" %>">
Here is how it gets converted
<th align="center" style="width: 12%" class="@tableWrapper.Column == "value" ? "selected" : """>
Here is how it's supposed to work
<th align="center" style="width: 12%" class="@(tableWrapper.Column == "value" ? "selected" : "")">
Notice the parentheses wrapping the @ expression containing the ternary.
I fixed them all manually. I hope in a future release this will be handled correctly by the tool. Nice work, anyway!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I found that the converter systhematically missed ternary operator in ASPX.
Here is a source fragment
Here is how it gets converted
Here is how it's supposed to work
Notice the parentheses wrapping the @ expression containing the ternary.
I fixed them all manually. I hope in a future release this will be handled correctly by the tool. Nice work, anyway!
The text was updated successfully, but these errors were encountered: