Skip to content

Commit

Permalink
Escape <meta> content attribute value
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jun 5, 2021
1 parent ac3e680 commit e1180f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/layout.rs
Expand Up @@ -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!(
Expand Down

0 comments on commit e1180f5

Please sign in to comment.