Skip to content

Before stripping html, add whitespace for excerpts#1

Merged
pm0kjp merged 1 commit intomasterfrom
pm0kjp-patch-1
Mar 19, 2018
Merged

Before stripping html, add whitespace for excerpts#1
pm0kjp merged 1 commit intomasterfrom
pm0kjp-patch-1

Conversation

@pm0kjp
Copy link
Copy Markdown
Owner

@pm0kjp pm0kjp commented Mar 19, 2018

When excerpts contain html that has implied whitespace (like a

header followed by a

, 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.

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 pm0kjp merged commit f9c6114 into master Mar 19, 2018
@pm0kjp pm0kjp deleted the pm0kjp-patch-1 branch March 19, 2018 13:08
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