Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #2316 bb markdown difference #2352

Merged
merged 2 commits into from
Sep 27, 2022
Merged

Conversation

msevestre
Copy link
Member

No description provided.

.Replace($"- {NEW_LINE}", $"-{NEW_LINE}"); // to remove the extra space for the separator for the last column

//add new lines at the end to ensure that we have some extra space with next content
return $"{tableMarkdown}\n\n";
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rwmcintosh Adding a new line at the end of tables

@@ -41,7 +44,7 @@ public MarkdownTracker Add(string rawMarkdown)
return this;
}

public MarkdownTracker AddValue(string caption, string value) => Add($"{caption}: {value}{NEW_LINE}");
public MarkdownTracker AddValue(string caption, string value) => Add($"{caption}: {value}\n\n");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was just returning. Here I am adding an extra new line.

@msevestre msevestre merged commit 9b0e6e9 into develop Sep 27, 2022
@msevestre msevestre deleted the 2316-bb-markdown-difference branch September 27, 2022 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants