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
null string in tags #221
Comments
Yes, this is a bug. Though, I am curious, how did you end up with this bug? Why set empty strings for tags? :) |
I just put
It was happened accidentally while refactoring my tags, but the post was also exported by the auto-exporter. After publishing my new posts including the post with null tag, then I realized it an empty tag was appeared in the tag could in my Hugo blog. |
@takaxp The fix was easy. I think most of your bug reports got resolved by using just |
Interesting, and thanks! 👍 |
@takaxp Actually I am thinking of reverting that commit and instead throw a user-error if "" tag is found. I don't see a reason to commit "" to the source Org files permanently. As you said, they happened by mistake, and should be fixed. That commit just masked the user mistake. But by making this an error, that can be fixed. |
That's good idea. For me, |
Thanks for the quick response, I'll make the user-error display the name of the front-matter having empty string element. |
That's very useful because actually it took some time to find the entry with null field. So if the |
@takaxp OK, let me know how it goes after updating to the latest master. |
Verified. Works well. Thank you so much :) |
Hi.
I just find that null string tags are exported to markdowns. Is this intended?
The text was updated successfully, but these errors were encountered: