1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Input WYSIWYG: Updated exports to handle HTML descriptions

This commit is contained in:
Dan Brown
2023-12-22 14:57:20 +00:00
parent fb3cfaf7c7
commit 7cd0629a75
4 changed files with 22 additions and 12 deletions

View File

@ -5,7 +5,7 @@
@section('content')
<h1 style="font-size: 4.8em">{{$book->name}}</h1>
<p>{{ $book->description }}</p>
<div>{!! $book->descriptionHtml() !!}</div>
@include('exports.parts.book-contents-menu', ['children' => $bookChildren])

View File

@ -5,7 +5,7 @@
@section('content')
<h1 style="font-size: 4.8em">{{$chapter->name}}</h1>
<p>{{ $chapter->description }}</p>
<div>{!! $chapter->descriptionHtml() !!}</div>
@include('exports.parts.chapter-contents-menu', ['pages' => $pages])

View File

@ -1,7 +1,7 @@
<div class="page-break"></div>
<h1 id="chapter-{{$chapter->id}}">{{ $chapter->name }}</h1>
<p>{{ $chapter->description }}</p>
<div>{!! $chapter->descriptionHtml() !!}</div>
@if(count($chapter->visible_pages) > 0)
@foreach($chapter->visible_pages as $page)