* adjust for show image.

This commit is contained in:
wangyidong
2021-07-13 14:10:27 +08:00
parent e2f6101340
commit 637acf434a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -534,7 +534,7 @@ class docModel extends model
->join('mailto', ',')
->remove('comment,files,labels,uid,contactListMenu')
->get();
$doc = $this->loadModel('file')->processImgURL($doc, $this->config->doc->editor->edit['id'], $this->post->uid);
if($doc->contentType == 'markdown') $doc->content = $this->post->content;
if(!empty($doc->acl) and $doc->acl == 'private') $doc->users = $oldDoc->addedBy;