Skip to content

Commit 347a5cc

Browse files
Merge pull request #169 from pt-techaspa/Example-escaped
Escaping to examples
2 parents 2a50236 + 88292aa commit 347a5cc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/examples.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,9 @@ fn main() {
13801380

13811381
### Payment provider form rendering
13821382

1383-
Dummy form rendering from the example [response](#response):
1383+
Dummy form rendering from the example [response](#response)
1384+
1385+
Developers should ensure that any API response data is properly escaped before rendering it into HTML.
13841386

13851387
```javascript
13861388
const parameterToInput = (param) => `<input type="hidden" name="${param.name}" value="${param.value}" />`;

0 commit comments

Comments
 (0)