Welcome Guest, Not a member yet? Register   Sign In
Word_limiter word count

Good evening all. 

Quick question and observation.

I am using word_limiter in a news posting app I am developing, and I noticed one thing. When I implement the limiter in a view, say 25 words, when I look at it (and yes actually counted for myself) I am usually only getting 12-15 words where I expect to see 25 words then the ellipses.

Note I am using Lorem Ipsum Generated dummy text so I know there is a lot more words then 25 in the paragraph(s) that I am passing through the function.

Question is:
Does the limiter count embedded HTML and is that why the actual printed words are only coming out at 50-60% what I would expect to see?

Messages In This Thread
Word_limiter word count - by stlake2011 - 07-12-2020, 02:32 PM
RE: Word_limiter word count - by marcogmonteiro - 07-13-2020, 01:21 AM
RE: Word_limiter word count - by stlake2011 - 07-13-2020, 04:48 AM

Theme © iAndrew 2016 - Forum software by © MyBB