1
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($patterns, replacements, wordwrap($text, 75, "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?