Skip to content
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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

cfmitrah
Copy link
Member

@cfmitrah cfmitrah commented Jul 3, 2020

No description provided.

docs/03.reference/01.functions/esapiencode/_examples.md Outdated Show resolved Hide resolved
docs/03.reference/01.functions/lsnumberformat/_examples.md Outdated Show resolved Hide resolved
#lsNumberFormat(1234.5678, "-_________.___")#<br />
</cfoutput>
</cfloop>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

@@ -1 +1,12 @@
*There are currently no examples for this tag.*
###CFINSERT
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
###CFINSERT
### CFINSERT

### CFML syntax
```lucee
<cfinsert tablename="test" datasource="datasource1" formfields="#ffilist#">

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

<div style="color:#ESAPIEncode("css",'red')#">Example for encodeforcss</div>
</cfoutput>
<cfoutput><div title="#ESAPIEncode("html_attr","<test>")#"></div></cfoutput>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

writeDump(enc);
```


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

```



Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

writeDump(enc);
enc=ESAPIEncode('url','https://download.lucee.org/?type=releases');//URL
enc = ESAPIEncode("url",'https://download.lucee.org/?type=releases');//URL
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
enc = ESAPIEncode("html","<table>");//html
enc = ESAPIEncode("html", "<table>");//html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants