diff options
| author | Michael Howell <michael@notriddle.com> | 2024-07-19 09:00:50 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2024-07-29 10:31:02 -0700 |
| commit | 3bf8bcfbe0ebd9527a8ec107c83085cd2d4d6ec1 (patch) | |
| tree | d0a1a198ca761c372b1fb97a4d5a8b410453e610 /src/librustdoc/html/render | |
| parent | 1d339b07ca84743710dc87dc0bc4c0597006ed59 (diff) | |
| download | rust-3bf8bcfbe0ebd9527a8ec107c83085cd2d4d6ec1.tar.gz rust-3bf8bcfbe0ebd9527a8ec107c83085cd2d4d6ec1.zip | |
rustdoc: properly handle path wrapping
Diffstat (limited to 'src/librustdoc/html/render')
| -rw-r--r-- | src/librustdoc/html/render/print_item.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/print_item.rs b/src/librustdoc/html/render/print_item.rs index 3f01c082ba9..eec6df9dd20 100644 --- a/src/librustdoc/html/render/print_item.rs +++ b/src/librustdoc/html/render/print_item.rs @@ -558,7 +558,7 @@ fn extra_info_tags<'a, 'tcx: 'a>( display_fn(move |f| { write!( f, - r#"<span class="stab {class}" title="{title}">{contents}</span>"#, + r#"<wbr><span class="stab {class}" title="{title}">{contents}</span>"#, title = Escape(title), ) }) |
