Skip to content

Commit

Permalink
Fixed spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
gvreddy04 committed Dec 16, 2024
1 parent 4e1284b commit 21057bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blazorbootstrap/Components/Markdown/Markdown.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ private List<string> GetLines()
// remove first blank line
if (string.IsNullOrWhiteSpace(inputs[0]))
inputs.RemoveAt(0);

// remove last blank line
if (inputs.Count > 0 && string.IsNullOrWhiteSpace(inputs[^1]))
inputs.RemoveAt(inputs.Count - 1);
Expand Down

0 comments on commit 21057bb

Please sign in to comment.