1
Anonymous
wordwrap in links?
  • 2005/2/4 9:32

  • Anonymous

  • Posts: 0

  • Since:


How to prevent long links which are COPIED and PASTED into the threads or news? These long links are destroying the site's layout.

I tried to use the smarty-function wordwrap inside the templates, but I did not get the expected results, so I tried to change the sanitizer-function makeclickable:

return preg_replace($patternsreplacementswordwrap($text75"n"1));


The results were quite funny. The second part of a link appears as plain text and code-snippets and quotes contain strange chars.

Any hints for me?

Login

Who's Online

273 user(s) are online (47 user(s) are browsing Support Forums)


Members: 0


Guests: 273


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits