Skip to content

Do not include whitespace when applying inline markdown styles#1

Merged
Rosey merged 1 commit intomasterfrom
do_not_wrap_whitespace
Sep 18, 2016
Merged

Do not include whitespace when applying inline markdown styles#1
Rosey merged 1 commit intomasterfrom
do_not_wrap_whitespace

Conversation

@Rosey
Copy link
Copy Markdown
Owner

@Rosey Rosey commented Sep 18, 2016

If you test out markdown on a gist, markdown like this:

**Test **

(with trailing or leading whitespace) is not properly parsed.

This change only surrounds the text with markdown inline styles and preserves
the whitespace, but doesn't attempt to style it, fixing the issue of
incompatibility with markdown parsers.

If you test out markdown on a gist, markdown like this:

```markdown
**Test **
```

(with trailing or leading whitespace) is not properly parsed.

This change only surrounds the text with markdown inline styles and preserves
the whitespace, but doesn't attempt to style it, fixing the issue of
incompatibility with markdown parsers.
@Rosey Rosey merged commit 5db6e17 into master Sep 18, 2016
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