Remove these ads. Join the Worldbuilders Guild

Word Count in Prose Articles is Counting Formatting Tags

closed
· Articles & templates ·
By FJ Brodie on 11/08/2024
· Assigned to Dimitris
· Not a Bug

It seems the BB Code tags are being counted as "Words".   What I expected to happen:
Word Count to only count "real words", i.e. not things inside tags   What actually happened:
Tags are included in Word Count   The attached image shows what removing the BB Code from just the first couple of lines does.  

  So I did another test on this same WIP article, this time removing ALL BBcode.  
  1. Total word count (with all BB Code): 3,276
  2. Total without BB Code: 3,217
  3. Difference: 59 Words
  I know this doesn't sound much, but given I'm trying to hit 50k words for #Novelember, I don't want to find I didn't actually hit it because of formatting.   Compromise: ⇒ Some people may use long tooltips and want these included in their word count. Maybe we can display with/without tags word count, or use a checkbox/drop-down so people can decide which measurement they want?

Steps to Reproduce

1. Write any normal sentence, note the word count. 2. Add bold formatting to the whole sentence. 3. Add a space at the end of the sentence to force the word count to refresh. 4. The word count will have increased by two.

Operating System

Linux

Browser

Firefox

History

Dimitris @ 08 Nov, 2024 04:51:17 Assignee

Hello FJ this is not a bug - it was never the other way - Word count in World Anvil at this point outside of Manuscripts counts also the tags. There is no plan to change this

Dimitris @ 08 Nov, 2024 04:51:25 Assignee
Dimitris Added tag Not a Bug
Dimitris @ 08 Nov, 2024 04:51:30 Assignee
Assigned dimitris
Dimitris @ 08 Nov, 2024 04:51:33 Assignee
set this bug to closed