Converts ternary conditionals to if else statements. It was designed specifically to work with nexted ternary conditionals.
Note: It may add extra semicolons in nexted statements.
I recommend using dirtymarkup.com to tidy up the code after converting it.
Created by RayBB.
See an issue? Post on the Github page:
https://github.com/RayBB/ternary-converter/