Antville Project

renderTextPreview bug

Hi, just came across a problem in function renderTextPreview(text,limit) - everything after the last space is cut off, no matter if its beyond the limit or not... Also, the defaulted <wbr> shouldn't be added all 30chars, regardless if the chars before have spaces or not, but only split up char sequences that do not contain any space for more than 30 chars length.

comment    

 
tobi, June 12, 2002 at 8:48:23 AM CEST

note from the editor

olex, i've set all your postings online in weblog to get them out of their modest place. moreover, i've modified the message above to make the html tag visible for all of us readers.

link  


... comment
 
robert, June 12, 2002 at 9:38:47 AM CEST

the reason

why we insert <wbr>-tags strictly after every 30 characters is simply speed (since this function is used pretty often) and because this tag doesn't do any harm (besides that little htmlcode-overhead).

link  

 
olex, June 12, 2002 at 10:29:44 AM CEST

well, so I assume the bug-part of my previous posting (cutting off the last part) will be fixed one day. as for the forced wbr-tag, probably it's only my lack of html-knowledge, but I come across pretty ugly line brakes in my recently modified box. interestingly this doesnt seem to be the case in all logs, so maybe there is a way to tell IE to brake at a normal space as long as possible and only using the wbr position to brake when really necessary?

link  


... comment


The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8550 Days
last updated: 1/4/11, 10:22 AM
status
Youre not logged in ... Login
menu
November 2024
SunMonTueWedThuFriSat
12
3456789
10111213141516
17181920212223
24252627282930
July
recent
zfuture's house here is zfuture's
house
by zfuture (7/31/03, 2:59 AM)
i understand your concerns however,
i hardly can think of a solution. certainly, if the...
by tobi (7/29/03, 9:47 AM)
Found several more similar sites
listed This is getting to be quite a concern to...
by cobalt123 (7/27/03, 7:56 PM)
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03, 7:14 PM)
well it's not easy to
find from here, anyway. think we should include a link,...
by tobi (7/24/03, 11:25 AM)
So finally I found
the helma Bugzilla - stupid me.
by mdornseif (7/24/03, 10:28 AM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03, 8:25 PM)
but blogosphere.us isn't can't really
be rated as spam can it?
by kohlehydrat (7/23/03, 8:08 PM)
More referrer spam www.webfrost.com
by Irene (7/23/03, 7:55 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)

Click here to get an XML version of this weblog.

Made with Antville
powered by
Helma Object Publisher