benmarwick/wordcountaddin

Failed to count if appears "<br>"

pablo14 opened this issue · 2 comments

Hey nice addin!
I think I found a bug:

Selecting:
Here it's ok: http://imgur.com/a/navhz word count=2
Here's the problem: http://imgur.com/a/bErsI word count = 5

All of this run in rmd.

I didn't try more with html tags.
I'm running Rstudio Version 1.0.44.

That's for the report! I'll update it to exclude tags like that

I think this is now fixed with 98a9c46, please try it and let me know how it works for you.