Recursive evaluation of string?
I have HTML fragments with embedded CF tags stored in a field in my database. When I read the field from the database, I want to have the CF tags, etc. evaluated and store that in a string.
Let's say Text contains "This is my #Content#" and Content contains "substituted content". I want both to be evaluated (recursively) so that the substitutions take place correctly and I end up with "This is my substituted content".
I have tried this, but all I get is Final containing "This is my #Content#".
<cfsavecontent variable="Final">
<cfoutput>
#Text#
</cfoutput>
</cfsavecontent>
Is there any way to get this recursive substitution to happen?
Thanks!
