Skip to content

Commit 63bd1e7

Browse files
prozolicCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 3560dfc commit 63bd1e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Markdig/Renderers/TextRendererBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ public void Write(ReadOnlySpan<char> content)
320320
{
321321
WriteIndent();
322322
WriteRaw(content);
323-
if (content[content.Length - 1] == '\n')
323+
if (content[content.Length - 1] == '\n' || content[content.Length - 1] == '\r')
324324
{
325325
previousWasLine = true;
326326
}

0 commit comments

Comments
 (0)