fix: table title's first letter is getting capitalized by default (#652)

fix for #638
This commit is contained in:
zameer fouzan
2021-12-07 17:33:30 +05:30
committed by GitHub
parent 55633b59fa
commit 37f661a963
3 changed files with 29 additions and 1 deletions

View File

@ -163,7 +163,7 @@ namespace Spectre.Console
return Array.Empty<Segment>();
}
var paragraph = new Markup(header.Text.CapitalizeFirstLetter(), header.Style ?? defaultStyle)
var paragraph = new Markup(header.Text, header.Style ?? defaultStyle)
.Alignment(Justify.Center)
.Overflow(Overflow.Ellipsis);