#6991 closed defect (bug) (fixed)
Word Count is one number short
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.6 | Priority: | low |
Severity: | minor | Version: | 2.6 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
Write a post. The count will be one number too low.
For example:
This is some content. It should be ten words long.
The counter shows that being 9 words.
Attachments (2)
Change History (7)
#3
@
11 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
This is broken in trunk for the text view if you don't have a trailing line. To test, use the same string as Viper007Bond, but make sure to not press enter.
qunit test attached.
Note: See
TracTickets for help on using
tickets.
Only happens when the HTML editor is used. Removing the trimming of white space from the beginning and end fixes it.