Skip to content

Commit 2cdc358

Browse files
authored
Убрать слеш в начале путей в Excel для красоты (#3661)
1 parent 72e8c41 commit 2cdc358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JoinRpg.Services.Export/BackEnds/ClosedXmlExcelBackend.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private void SetCell(int columnIndex, Cell cell)
6161
_ = xlCell.SetValue(time);
6262
break;
6363
case Uri uri:
64-
_ = xlCell.SetValue(uri.PathAndQuery);
64+
_ = xlCell.SetValue(uri.PathAndQuery.TrimStart('/'));
6565
xlCell.GetHyperlink().ExternalAddress = uri;
6666
break;
6767
default:

0 commit comments

Comments
 (0)