diff options
author | Muhammad Haggag <mhaggag@gmail.com> | 2012-06-09 23:48:27 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-11 13:03:13 +0200 |
commit | 29ff3d49c8f0bc45a322d3ab67300bd269593181 (patch) | |
tree | 94ec1e4fc9b1e9afc49b283ffa3080f39ba06edc /languagetool | |
parent | 32901f70b131939df733e725ecee02e3432d4e89 (diff) |
fdo#50141: Character count (with spaces) incorrect with numbering on.
There was a typo in the character counting code of text nodes. When a numbered list is detected, the code attempts to add the character count of the "item number" to the total count, but ends up overwriting it instead (uses '=' instead of '+='). This resulted in the item number strings to be the only ones counted in a numbered list.
Change-Id: I9d96311065f66026dd4f05d3cd5ae61e2c0dafb4
(cherry picked from commit a585863f013aa4207270e11f5e031126adf1ed4a)
Diffstat (limited to 'languagetool')
0 files changed, 0 insertions, 0 deletions