From 21057bb3e29a87f4ef95e413a94c0aed1265910f Mon Sep 17 00:00:00 2001 From: Vikram Reddy Date: Mon, 16 Dec 2024 22:15:03 +0530 Subject: [PATCH] Fixed spaces --- blazorbootstrap/Components/Markdown/Markdown.razor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blazorbootstrap/Components/Markdown/Markdown.razor.cs b/blazorbootstrap/Components/Markdown/Markdown.razor.cs index 9bf8f87e8..c80a84b49 100644 --- a/blazorbootstrap/Components/Markdown/Markdown.razor.cs +++ b/blazorbootstrap/Components/Markdown/Markdown.razor.cs @@ -606,7 +606,7 @@ private List 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);