lukeleppan / better-word-count

Counts the words of selected text in the editor.
MIT License
258 stars 41 forks source link

List item prefixes are counted as words #107

Closed redactedscribe closed 1 year ago

redactedscribe commented 1 year ago

Edit: Apologies, this report was meant for another plugin. But it appears that your plugin also has the same issue as the core plugin. If it's tapping into Obsidian's method of counting words, I guess your plugin would be fixed too. @lukeleppan

Edit 2: Apparently this is a known special case.

7 words:

- 1
- 2
- 3
- 

Same goes for *- and +-prefixed lists. The core plugin "Word count" also has this issue, but only for --prefixed lists (which will hopefully be fixed).

Thanks.