Skip to content

Commit 6624919

Browse files
authored
Remove the trailing slash when formatting the tab fragment (#9138)
* Remove the trailing slash when it appears * Revert "Remove the trailing slash when it appears" This reverts commit 855ea8f. * Trim the end slash
1 parent 9a3c964 commit 6624919

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/NuGetGallery/Views/Shared/_ListPackage.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<div class="col-sm-11">
3838
<div class="package-header">
3939
<a class="package-title"
40-
href="@Url.Package(Model.Id, Model.UseVersion ? Model.Version : null)"
40+
href="@Url.Package(Model.Id, Model.UseVersion ? Model.Version : null).TrimEnd('/')"
4141
@if (itemIndex.HasValue)
4242
{
4343
@:data-track="@eventName" data-track-value="@itemIndex"

0 commit comments

Comments
 (0)