Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Whole-post excerpts should match the post content #4004
When a post does not contain an
Currently whole-post excerpts include additional newlines at the end of the excerpt content, which makes it difficult to detect whether an excerpt includes the whole post (unless there is an easy method I am overlooking). This PR fixes the issue and adds tests to ensure it stays fixed.
If there's anything I've overlooked or style changes that you'd like to see, let me know.