Ignore:
Timestamp:
Apr 25, 2006, 10:38:11 PM (18 years ago)
Author:
chrisaga
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_html.inc.php

    r1259 r1272  
    480480function parse_comment_content($content)
    481481{
     482  htmlentities($content,ENT_QUOTES);
    482483  $pattern = '/(https?:\/\/\S*)/';
    483484  $replacement = '<a href="$1" rel="nofollow">$1</a>';
     
    501502  $content = preg_replace($pattern, $replacement, $content);
    502503
    503   $content = '<div>'.htmlentities($content,ENT_QUOTES).'</div>';
     504  $content = '<div>'.$content.'</div>';
    504505  return $content;
    505506}
Note: See TracChangeset for help on using the changeset viewer.