Skip to content

Commit 785bf13

Browse files
committed
---
yaml --- r: 274913 b: refs/heads/stable c: 004c4b4 h: refs/heads/master i: 274911: adf895e
1 parent b7b47a4 commit 785bf13

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: c0221c8897db309a79990367476177b1230bb264
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 5d0a68d1d3589964f0f2a43d1eb65f4ebcd4c578
32+
refs/heads/stable: 004c4b4b7d581f54365bc621a23106e970120f99
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/src/librustdoc/html/render.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ fn build_index(krate: &clean::Crate, cache: &mut Cache) -> String {
554554
ty: shortty(item),
555555
name: item.name.clone().unwrap(),
556556
path: fqp[..fqp.len() - 1].join("::"),
557-
desc: shorter(item.doc_value()),
557+
desc: Escape(&shorter(item.doc_value())).to_string(),
558558
parent: Some(did),
559559
search_type: get_index_search_type(&item, parent_basename),
560560
});
@@ -1065,7 +1065,7 @@ impl DocFolder for Cache {
10651065
ty: shortty(&item),
10661066
name: s.to_string(),
10671067
path: path.join("::").to_string(),
1068-
desc: shorter(item.doc_value()),
1068+
desc: Escape(&shorter(item.doc_value())).to_string(),
10691069
parent: parent,
10701070
search_type: get_index_search_type(&item, parent_basename),
10711071
});

0 commit comments

Comments
 (0)