Welcome to Geeklog, Anonymous Tuesday, December 10 2024 @ 12:55 pm EST

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: 08/04/03
Posts: 1298
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: 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
 Quote

All times are EST. The time is now 12:55 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