Welcome to Geeklog, Anonymous Thursday, July 18 2024 @ 10:32 pm EDT

Geeklog Forums

Word count of story should exclude HTML code


Would that be possible? Maybe some hack?


Status: offline


Forum User
Full Member
Registered: 08/04/03
Posts: 1298
Has this problem been solved? GL seems to do wrong word counts if HTML is included in a story.

Status: offline


Site Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Geeklog strips HTML before doing the word count (and has always done so, IIRC). What it doesn't seem to take into account are multiple spaces. I.e. having two spaces between words will be counted as an extra word (from a quick glance at the code and from a similar problem we just had with the search results highlighting). Somebody please file a bug report ...

bye, Dirk

All times are EDT. The time is now 10:32 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content