Skip to content

Commit f93df94

Browse files
committed
---
yaml --- r: 209509 b: refs/heads/try c: 3ca83a7 h: refs/heads/master i: 209507: e3678ea v: v3
1 parent 1519a72 commit f93df94

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: 00a8d65ef3389164f1c71ec95f686530fdfc9d9d
5+
refs/heads/try: 3ca83a79bf6fcd019ab53e1b10a83663c6b3a34d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/doc/trpl/documentation.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,3 +560,13 @@ This sets a few different options, with a logo, favicon, and a root URL.
560560
- `--html-before-content FILE`: includes the contents of FILE directly after
561561
`<body>`, before the rendered content (including the search bar).
562562
- `--html-after-content FILE`: includes the contents of FILE after all the rendered content.
563+
564+
## Security note
565+
566+
The Markdown in documentation comments is placed without processing into
567+
the final webpage. Be careful with literal HTML:
568+
569+
```rust
570+
/// <script>alert(document.cookie)</script>
571+
# fn foo() {}
572+
```

0 commit comments

Comments
 (0)