Skip to content
Snippets Groups Projects
Commit 410d1763 authored by OndraRehounek's avatar OndraRehounek
Browse files

jekyll-import: improve tags handler once more

parent 08014c58
No related branches found
No related tags found
2 merge requests!484release,!482Bugfix/import zlinsky
Pipeline #7860 passed
......@@ -519,6 +519,11 @@ class JekyllArticleImporter:
tags = meta.get("tags", []) or [] # někdy jsou tags None
if type(tags) == str: # někdy jsou tags str
if "\n" in tags:
tags = tags.split("\n")
elif " " in tags:
tags = tags.split()
else:
tags = [tags]
for tag_name in tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment