Skip to content

Conversation

@tad-lispy
Copy link

Trailing spaces from string blocks were not rendered, even when the block was created using Mark.New.string. See #40.

This PR removes the trimming when string is rendered and instead adds trimming to string block parser. That way documents parsed from string behave the same as before, but programmatically inserted whitespace is preserved.

Trailing spaces from string blocks were not rendered, even when the
block was created using Mark.New.string. This commit removes trimming
when string is rendered and instead adds trimming to string block
parser. That way documents parsed from string behave the same as before,
but programmatically inserted whitespace is preserved.
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.

1 participant