Skip to content

Commit

Permalink
fix: corrected display of HTML entities, closes #2312
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Jan 27, 2023
1 parent ce676eb commit c4299f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpmyfaq/faq.php
Expand Up @@ -338,10 +338,10 @@
'baseHref' => $faqSystem->getSystemUri($faqConfig),
'solutionId' => $faq->faqRecord['solution_id'],
'solutionIdLink' => Link::getSystemRelativeUri() . '?solution_id=' . $faq->faqRecord['solution_id'],
'question' => Strings::htmlentities($question),
'question' => Strings::htmlspecialchars($question),
'answer' => $answer,
'faqDate' => $date->format($faq->faqRecord['date']),
'faqAuthor' => $author,
'faqAuthor' => Strings::htmlentities($author),
'editThisEntry' => $editThisEntry,
'msgPdf' => $PMF_LANG['msgPDF'],
'msgPrintFaq' => $PMF_LANG['msgPrintArticle'],
Expand Down

0 comments on commit c4299f6

Please sign in to comment.