Welcome to Geeklog Saturday, March 28 2020 @ 11:32 pm EDT

Geeklog Forums

Word count of story should exclude HTML code


tokyoahead

Anonymous
Would that be possible? Maybe some hack?

thanks
 Quote

Status: offline

1000ideen

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

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/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
 Quote

All times are EDT. The time is now 11: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