mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
fix output of markdown, because accessing settings was wrong
This commit is contained in:
parent
78515e93b4
commit
96423e1388
|
@ -771,7 +771,7 @@ $(document).ready( function() {
|
|||
echo $txt;
|
||||
} else {
|
||||
if($latestContent->getComment())
|
||||
if($settings->_markdownComments) {
|
||||
if($this->params['settings']->_markdownComments) {
|
||||
$Parsedown = new Parsedown();
|
||||
$comment = $Parsedown->text(htmlspecialchars($latestContent->getComment()));
|
||||
print "<div class=\"content-comment\">".$comment."</div>";
|
||||
|
|
Loading…
Reference in New Issue
Block a user