mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +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;
|
echo $txt;
|
||||||
} else {
|
} else {
|
||||||
if($latestContent->getComment())
|
if($latestContent->getComment())
|
||||||
if($settings->_markdownComments) {
|
if($this->params['settings']->_markdownComments) {
|
||||||
$Parsedown = new Parsedown();
|
$Parsedown = new Parsedown();
|
||||||
$comment = $Parsedown->text(htmlspecialchars($latestContent->getComment()));
|
$comment = $Parsedown->text(htmlspecialchars($latestContent->getComment()));
|
||||||
print "<div class=\"content-comment\">".$comment."</div>";
|
print "<div class=\"content-comment\">".$comment."</div>";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user