-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added a examples for lucee docs #887
base: master
Are you sure you want to change the base?
Conversation
#lsNumberFormat(1234.5678, "-_________.___")#<br /> | ||
</cfoutput> | ||
</cfloop> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1 +1,12 @@ | |||
*There are currently no examples for this tag.* | |||
###CFINSERT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
###CFINSERT | |
### CFINSERT |
### CFML syntax | ||
```lucee | ||
<cfinsert tablename="test" datasource="datasource1" formfields="#ffilist#"> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<div style="color:#ESAPIEncode("css",'red')#">Example for encodeforcss</div> | ||
</cfoutput> | ||
<cfoutput><div title="#ESAPIEncode("html_attr","<test>")#"></div></cfoutput> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
writeDump(enc); | ||
``` | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``` | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
writeDump(enc); | ||
enc=ESAPIEncode('url','https://download.lucee.org/?type=releases');//URL | ||
enc = ESAPIEncode("url",'https://download.lucee.org/?type=releases');//URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enc = ESAPIEncode("url",'https://download.lucee.org/?type=releases');//URL | |
enc = ESAPIEncode("url", "https://download.lucee.org/?type=releases");//URL |
@@ -1,6 +1,27 @@ | |||
```luceescript+trycf | |||
enc=ESAPIEncode("html","<table>");//html | |||
|
|||
enc = ESAPIEncode("html","<table>");//html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enc = ESAPIEncode("html","<table>");//html | |
enc = ESAPIEncode("html", "<table>");//html |
Co-authored-by: John Bampton <[email protected]>
Co-authored-by: John Bampton <[email protected]>
No description provided.