Skip to content

Commit

Permalink
fix "all" filter #122
Browse files Browse the repository at this point in the history
  • Loading branch information
laktak committed Jun 8, 2024
1 parent 13f2645 commit 1fb3fe7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extrakto_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,9 @@ def capture(self):

text = ""
if mode == "all":
text = "\n".join(s[len(s) :] for s in selection)
text = "\n".join(
next(iter(s.split(": ", 1)[1:2]), s) for s in selection
)
elif mode == "line":
text = "\n".join(selection)
else:
Expand Down

0 comments on commit 1fb3fe7

Please sign in to comment.