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

Post Preview HTML Strip Bug #175

Closed
mkasberg opened this issue May 28, 2016 · 0 comments
Closed

Post Preview HTML Strip Bug #175

mkasberg opened this issue May 28, 2016 · 0 comments

Comments

@mkasberg
Copy link
Contributor

Expected Behavior

Raw HTML tags should not be shown in the post preview.

Actual Behavior

Raw HTML tags are shown in the post preview when the tag crosses the boundary of the post-preview-words. For example, an HTML tag is at words 59-61 and post-preview-words is set to 60.

Steps to Reproduce the Issue

  1. Change post-preview-words to 60 in _config.yml
  2. Run jekyll serve, and see the issue in the blog preview section of index.html.

Image

screenshot from 2016-05-28 15-27-22

Specifications

Reproduced on commit 289fe2a.
Any browser.

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

No branches or pull requests

1 participant