Cannot output the percent sign (%) in CFML templating.
Perhaps, inserting two percent signs in a row (%%) will generate a single
percent sign in the CFML output. This behavior would be similar to using
two hash marks (##) in CFML.
Or perhaps some sort of escape character similar to that in regex.
Here's an example line of code from a SQL query file template, where I
tried to force the generation of the % by using CHR(), but it simply got
converted to a hash mark:
#root.bean.dbtable.xmlChildren[i].xmlAttributes.name# LIKE
'#CHR(37)#%var.search_term%#CHR(37)#'
Original issue reported on code.google.com by avaniut...@gmail.com on 7 Nov 2007 at 3:19
Original issue reported on code.google.com by
avaniut...@gmail.com
on 7 Nov 2007 at 3:19