in reply to How to detect and make a link clickable Perl/CGI
Maybe you want to split the text not on spaces but on whitespace? See perlre for more information on character classes, especially \s.
Also, what is your strategy to avoid people posting Hello! <script>window.location="htt" + "p://google.com?q=some+spam+site</script> ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to detect and make a link clickable Perl/CGI
by Muskovitz (Scribe) on Dec 15, 2015 at 13:31 UTC | |
by Corion (Patriarch) on Dec 15, 2015 at 13:40 UTC |