1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Input WYSIWYG: Updated UpdateUrlCommand, Added chapter HTML display

This commit is contained in:
Dan Brown
2023-12-18 18:31:16 +00:00
parent bc354e8b12
commit c07aa056c2
3 changed files with 27 additions and 1 deletions

View File

@ -24,7 +24,7 @@
<main class="content-wrap card">
<h1 class="break-text">{{ $chapter->name }}</h1>
<div refs="entity-search@contentView" class="chapter-content">
<p class="text-muted break-text">{!! nl2br(e($chapter->description)) !!}</p>
<p class="text-muted break-text">{!! $chapter->descriptionHtml() !!}</p>
@if(count($pages) > 0)
<div class="entity-list book-contents">
@foreach($pages as $page)