Ajatt-Tools / anki.koplugin

KOReader plugin enabling Anki card generations for words looked up in the internal dictionary.
49 stars 6 forks source link

Sentences are sent to context_field without spaces #6

Closed YashaNoos closed 1 year ago

YashaNoos commented 1 year ago

Hello again! I have noticed that the new versions (from May 18 and up) of the plugin suppress spaces in sentences sent to context_field.

Apr 16:

anki_kRIAOd8bcc

May 18:

anki_FnhPGpndNk

I guess it has something to do with the "custom sentence context" addition (pretty cool feature btw). Thanks again for your work, your plugin make my workflow SO much more streamlined.

nairyosangha commented 1 year ago

Oops, I should have checked with against a language that actually uses whitespaces meaningfully. Should be fixed with this https://github.com/Ajatt-Tools/anki.koplugin/commit/7df6b5f4c1d02a3f6045c26ff9ff7f19e852d1cb

YashaNoos commented 1 year ago

Just tested it, works perfectly now!

anki_mir9IMrzno

And the forvo audio is now automatically downloaded \o/ Thanks for your quick response have a nice day!