Skip to content

Commit

Permalink
Merge pull request #634 from fwuehr1995/develop
Browse files Browse the repository at this point in the history
 limit keyword split to first match, allow colons to be part of the keyword
  • Loading branch information
jacebrowning authored Mar 15, 2024
2 parents 611e024 + 8ee57fd commit b94019a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doorstop/core/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def _itemize(header, data, document, mapping=None):

ref_dict = {"type": ref_type, "path": ref_path}
if len(ref_item_components) == 3:
ref_keyword = ref_item_components[2].split(":")[1]
ref_keyword = ref_item_components[2].split(":", 1)[1]
ref_dict["keyword"] = ref_keyword

ref.append(ref_dict)
Expand Down

0 comments on commit b94019a

Please sign in to comment.