visuddhinanda 1 рік тому
батько
коміт
fb4bad53e5
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      app/Http/Resources/ArticleResource.php

+ 1 - 0
app/Http/Resources/ArticleResource.php

@@ -201,6 +201,7 @@ class ArticleResource extends JsonResource
                 'format'=> $format,
                 'format'=> $format,
                 'footnote' => true,
                 'footnote' => true,
                 'origin' => $request->get('origin',true),
                 'origin' => $request->get('origin',true),
+                'paragraph' => $request->get('paragraph',false),
             ]);
             ]);
             //Log::debug('article render',['content'=>$this->content,'format'=>$format,'html'=>$html]);
             //Log::debug('article render',['content'=>$this->content,'format'=>$format,'html'=>$html]);
             $data["html"] = $htmlRender->convert($this->content,$channels);
             $data["html"] = $htmlRender->convert($this->content,$channels);