Changeset 852 for trunk/Modules/User


Ignore:
Timestamp:
Jan 17, 2016, 10:25:29 PM (9 years ago)
Author:
chronos
Message:
  • Fixed: HTML entities need to be converted before BB code is applied as BB parser itself produce HTML code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/User/Profile.php

    r851 r852  
    132132    while($Line = $DbResult->fetch_assoc())
    133133      $Output .= '<div><a href="'.$this->System->Link('/forum/?Thread='.$Line['Thread']).'">'.htmlspecialchars($Line['ThreadName']).'</a><br />'.
    134         '<strong>'.$Line['UserName'].'</strong> ('.HumanDate($Line['Date']).'): '.htmlspecialchars($parser->qparse($Line['Text'])).'</div> ';
     134        '<strong>'.$Line['UserName'].'</strong> ('.HumanDate($Line['Date']).'): '.$parser->qparse(htmlspecialchars($Line['Text'])).'</div> ';
    135135    $Output .= '</div>';
    136136    return($Output);
Note: See TracChangeset for help on using the changeset viewer.