We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 083dc5b + dcb3526 commit f3619ceCopy full SHA for f3619ce
src/librustdoc/html/render.rs
@@ -554,7 +554,7 @@ fn build_index(krate: &clean::Crate, cache: &mut Cache) -> String {
554
ty: shortty(item),
555
name: item.name.clone().unwrap(),
556
path: fqp[..fqp.len() - 1].join("::"),
557
- desc: shorter(item.doc_value()),
+ desc: Escape(&shorter(item.doc_value())).to_string(),
558
parent: Some(did),
559
search_type: get_index_search_type(&item, parent_basename),
560
});
@@ -1065,7 +1065,7 @@ impl DocFolder for Cache {
1065
ty: shortty(&item),
1066
name: s.to_string(),
1067
path: path.join("::").to_string(),
1068
1069
parent: parent,
1070
1071
0 commit comments