#6991 closed defect (bug) (fixed)
Word Count is one number short
| Reported by: | Viper007Bond | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 2.6 |
| Component: | Administration | Version: | 2.6 |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
13 years ago
- Resolution fixed
- Status closed → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Only happens when the HTML editor is used. Removing the trimming of white space from the beginning and end fixes it.