When using the ternery operator <test> ? <if-true> : <if-false>, the syntax colouring breaks - the next immediate CF tag is not coloured correctly, but the one after is. This is also the case for the elvis operator ?:
Sorry about this. I am bouncing back and forth between this sort of issue and #86 - I think a more complete solution will be necessary. It should be fixable though.
When using the ternery operator
<test> ? <if-true> : <if-false>
, the syntax colouring breaks - the next immediate CF tag is not coloured correctly, but the one after is. This is also the case for the elvis operator?:
So in the following example:
The
<cfoutput>
is not coloured as a valid CF tag, but the closing</cfoutput>
is.If I wrap the entire ternary in parens then the syntax colouring is OK, but I shouldn't have to do that.