diff options
author | ven <vendethiel@hotmail.fr> | 2015-12-18 18:40:11 +0100 |
---|---|---|
committer | ven <vendethiel@hotmail.fr> | 2015-12-18 18:40:11 +0100 |
commit | c483e24adc1a657f50ecd23430b34380ce0c7bb5 (patch) | |
tree | 7a6d1cd87c17f6bb200e8d8cb29ad85b2e10edec /coldfusion.html.markdown | |
parent | 18b3fb08a84171810c8e6f2e6fae5939c4428c04 (diff) | |
parent | dc97e779bce838ea4f1d1e51a20d78b253048406 (diff) |
Merge pull request #2069 from edm00se/patch-1
ColdFusion replaced < and > in pre block
Diffstat (limited to 'coldfusion.html.markdown')
-rw-r--r-- | coldfusion.html.markdown | 50 |
1 files changed, 24 insertions, 26 deletions
diff --git a/coldfusion.html.markdown b/coldfusion.html.markdown index d49ad254..482612fe 100644 --- a/coldfusion.html.markdown +++ b/coldfusion.html.markdown @@ -233,40 +233,38 @@ ColdFusion started as a tag-based language. Almost all functionality is availabl <em>Code for reference (Functions must return something to support IE)</em> -<pre> -<cfcomponent> - <cfset this.hello = "Hello" /> - <cfset this.world = "world" /> - - <cffunction name="sayHello"> - <cfreturn this.hello & ", " & this.world & "!" /> - </cffunction> +<cfcomponent> + <cfset this.hello = "Hello" /> + <cfset this.world = "world" /> + + <cffunction name="sayHello"> + <cfreturn this.hello & ", " & this.world & "!" /> + </cffunction> - <cffunction name="setHello"> - <cfargument name="newHello" type="string" required="true" /> + <cffunction name="setHello"> + <cfargument name="newHello" type="string" required="true" /> - <cfset this.hello = arguments.newHello /> + <cfset this.hello = arguments.newHello /> - <cfreturn true /> - </cffunction> + <cfreturn true /> + </cffunction> - <cffunction name="setWorld"> - <cfargument name="newWorld" type="string" required="true" /> + <cffunction name="setWorld"> + <cfargument name="newWorld" type="string" required="true" /> - <cfset this.world = arguments.newWorld /> + <cfset this.world = arguments.newWorld /> - <cfreturn true /> - </cffunction> + <cfreturn true /> + </cffunction> - <cffunction name="getHello"> - <cfreturn this.hello /> - </cffunction> + <cffunction name="getHello"> + <cfreturn this.hello /> + </cffunction> - <cffunction name="getWorld"> - <cfreturn this.world /> - </cffunction> -</cfcomponent> -</pre> + <cffunction name="getWorld"> + <cfreturn this.world /> + </cffunction> +</cfcomponent> <cfset this.hello = "Hello" /> <cfset this.world = "world" /> |