PDA

View Full Version : Wordwrap Not Working with Hyphens


akiy
12-12-2002, 10:02 PM
Hi folks,

It looks like wordwrap in the vbulletin code doesn't work with long terms with a lot of hyphens:

test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test-test

Any thoughts?

tHE DSS
12-13-2002, 02:12 PM
It's based on the 'wordwrap()' function, I believe.

It doesn't wordwrap strings that have character delimiters other than the 'space' character.

akiy
12-16-2002, 09:39 PM
Anyone else think that words with hyphens should get wrapped? Any quick solutions?