Skip to content

Commit

Permalink
https://github.com/WWBN/AVideo/issues/9380
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Sep 9, 2024
1 parent e1aae22 commit 9299134
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions objects/comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ public static function getAllComments($videoId = 0, $comments_id_pai = 'NULL', $
$row = cleanUpRowFromDatabase($row);
$row['comment'] = str_replace('\n', "\n", $row['comment']);
$row['commentPlain'] = xss_esc_back($row['comment']);
$row['commentHTML'] = markDownToHTML($row['commentPlain']);
$row['commentHTML'] = markDownToHTML(str_replace('`', "'", $row['commentPlain']));
$row['responses'] = array();
if($includeResponses){
$row['responses'] = self::getAllComments($videoId, $row['id'], $video_owner_users_id, $includeResponses);
Expand Down Expand Up @@ -412,7 +412,7 @@ static function addExtraInfo2($row) {
if(empty($row['commentHTML'])){
$row['comment'] = str_replace('\n', "\n", $row['comment']);
$row['commentPlain'] = xss_esc_back($row['comment']);
$row['commentHTML'] = markDownToHTML($row['commentPlain']);
$row['commentHTML'] = markDownToHTML(str_replace('`', "'", $row['commentPlain']));
}

$row['identification'] = User::getNameIdentificationById($row['users_id']);
Expand Down

0 comments on commit 9299134

Please sign in to comment.