-
Notifications
You must be signed in to change notification settings - Fork 204
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
doesn't handle tags with spaces or hyphens #377
Comments
Have you tried using the front matter key named as |
That doesn't make a difference. I can see that Jekyll proper parses the tags correctly in any case, because the produced top-level <category term="jekyll" /><category term="update" /><category term="foo-bar" /> So the tags are recognized, and at least parts of |
Oh, I found this in the code: jekyll-feed/lib/jekyll-feed/generator.rb Lines 92 to 94 in 21a7fc9
I would say:
|
@petere Thanks for digging into the source code. Now that I see it, I am not liking the regex filter without it being mentioned in the README. In other words, if Jekyll Core thinks, |
This issue has been automatically marked as stale because it has not been commented on for at least two months. The resources of the Jekyll team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial. This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions. |
Adding a space to the regexp in the code you found and adding a test to ensure the spaces work fine would fix this issue. |
Not exactly an option when you are deploying to GitHub Pages, however. |
This issue has been automatically marked as stale because it has not been commented on for at least two months. The resources of the Jekyll team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial. This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions. |
Still an issue at least when using a GitHub Pages gem - it might be a good idea to politely remind GitHub to update |
This issue has been automatically marked as stale because it has not been commented on for at least two months. The resources of the Jekyll team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial. This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions. |
My above post is still valid. GitHub Pages plugin is still at |
This issue has been automatically marked as stale because it has not been commented on for at least two months. The resources of the Jekyll team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial. This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions. |
My above post is still valid. GitHub Pages plugin is still at |
I create a new Jekyll site:
Edit the
_config.yml
to include:Edit the example post
_posts/2022-09-02-welcome-to-jekyll.markdown
to include the line:Then build:
I see
Ok great.
Now instead do
or
and no feed is created for the tag (and no message is printed).
I see that the
jekyll-feed
documentation itself uses examples of tags with hyphens. Also, the Jekyll documentation goes out of its way to explain how to handle tags with spaces in them. So I think both of these ought to be supported. Butjekyll-feed
apparently silently drops them. What's going on?The text was updated successfully, but these errors were encountered: