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

Fix excerpts that run together because of implied spaces #281

Merged
merged 2 commits into from
Mar 20, 2018

Conversation

pm0kjp
Copy link
Contributor

@pm0kjp pm0kjp commented Mar 19, 2018

When excerpts contain html that has implied whitespace (like a <h2> header followed by a <p>, but with no spaces in the text), add some whitespace before stripping the html, so that we see "Header paragraph" instead of "Headerparagraph" in the excerpt.

pm0kjp added 2 commits March 19, 2018 09:07
When excerpts contain html that has implied whitespace (like a <h2> header followed by a <p>, but with no spaces in the text), add some whitespace *before* stripping the html, so that we see "Header paragraph" instead of "Headerparagraph" in the excerpt.
Before stripping html, add whitespace for excerpts
@mmistakes
Copy link
Owner

Thanks for this!

@mmistakes mmistakes merged commit bf00a6d into mmistakes:master Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants