Skip to content

Fix excerpts that run together because of implied spaces#281

Merged
mmistakes merged 2 commits intommistakes:masterfrom
pm0kjp:master
Mar 20, 2018
Merged

Fix excerpts that run together because of implied spaces#281
mmistakes merged 2 commits intommistakes:masterfrom
pm0kjp:master

Conversation

@pm0kjp
Copy link
Copy Markdown
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
Copy Markdown
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