Skip to content
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

hyphenation in extracted highlights isn't cleaned up #5

Closed
owldown opened this issue Mar 21, 2022 · 1 comment
Closed

hyphenation in extracted highlights isn't cleaned up #5

owldown opened this issue Mar 21, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@owldown
Copy link

owldown commented Mar 21, 2022

In some cases, the extracted text is literally correct, but in a way that makes it hard to read. I believe this plug-in is stripping newlines, which is great! I wish that it would also notice when a word has been hyphenated, and in that case, strip the hyphen and the newline and join the word back together.

In my PDF:
as a result such policies and prac-
tices have pushed

What currently gets extracted:
" as a result such policies and prac- tices have pushed"

What I wish were extracted instead: (and this is in fact what gets copied when selecting the multi-line source in Obsidian's PDF viewer and pasting elsewhere)
" as a result such policies and practices have pushed"

@munach munach added the enhancement New feature or request label Mar 22, 2022
@munach
Copy link
Owner

munach commented Mar 22, 2022

fixed in 1.04

@munach munach closed this as completed Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants