diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-06-03 20:07:25 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-06-05 23:13:11 +0200 |
| commit | e1180f521f8f2d01745b50b228f7b426cb4565dc (patch) | |
| tree | 1604db941f0a2e63479dbcd441ea583e9e1dd7b7 | |
| parent | ac3e680193a3e11e60b07840ffb1db12793de110 (diff) | |
| download | rust-e1180f521f8f2d01745b50b228f7b426cb4565dc.tar.gz rust-e1180f521f8f2d01745b50b228f7b426cb4565dc.zip | |
Escape <meta> content attribute value
| -rw-r--r-- | src/librustdoc/html/layout.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs index 7309a1da230..c3843e72135 100644 --- a/src/librustdoc/html/layout.rs +++ b/src/librustdoc/html/layout.rs @@ -161,7 +161,7 @@ crate fn render<T: Print, S: Print>( } }, title = page.title, - description = page.description, + description = Escape(page.description), keywords = page.keywords, favicon = if layout.favicon.is_empty() { format!( |
