Skip to content

Conversation

@hannah98
Copy link
Contributor

Summary

This PR fixes #725 - instead of tags being split on each character, this fix mimics a code block further down in the same file to create a list of tags first before calling the save_tags() method.

tag_set = (
set(tag.strip() for tag in (link.tags or '').split(','))
)

Related issues

#725

Changes these areas

  • Bugfixes
  • Feature behavior
  • Command line interface
  • Configuration options
  • Internal architecture
  • Snapshot data layout on disk

@lgtm-com
Copy link

lgtm-com bot commented Dec 20, 2021

This pull request introduces 1 alert when merging 4b8962b into 9899377 - view on LGTM.com

new alerts:

  • 1 for Unused local variable

@pirate
Copy link
Member

pirate commented Dec 21, 2021

Thanks @hannah98 !!!

@pirate pirate merged commit f363738 into ArchiveBox:dev Dec 21, 2021
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

Successfully merging this pull request may close these issues.

Pocket and Pinboard imports causing tags to be split incorrectly into individual characters w/ broken hyphenation

2 participants