mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-31 15:24:31 +03:00
Input WYSIWYG: Aligned newline handling with old descriptions
To ensure consistenent behaviour before/after changes. Added tests to cover.
This commit is contained in:
@ -26,7 +26,7 @@
|
||||
<main class="content-wrap card">
|
||||
<h1 class="break-text">{{$book->name}}</h1>
|
||||
<div refs="entity-search@contentView" class="book-content">
|
||||
<p class="text-muted">{!! $book->descriptionHtml() !!}</p>
|
||||
<div class="text-muted break-text">{!! $book->descriptionHtml() !!}</div>
|
||||
@if(count($bookChildren) > 0)
|
||||
<div class="entity-list book-contents">
|
||||
@foreach($bookChildren as $childElement)
|
||||
|
@ -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">{!! $chapter->descriptionHtml() !!}</p>
|
||||
<div class="text-muted break-text">{!! $chapter->descriptionHtml() !!}</div>
|
||||
@if(count($pages) > 0)
|
||||
<div class="entity-list book-contents">
|
||||
@foreach($pages as $page)
|
||||
|
@ -28,7 +28,7 @@
|
||||
</div>
|
||||
|
||||
<div class="book-content">
|
||||
<p class="text-muted">{!! $shelf->descriptionHtml() !!}</p>
|
||||
<div class="text-muted break-text">{!! $shelf->descriptionHtml() !!}</div>
|
||||
@if(count($sortedVisibleShelfBooks) > 0)
|
||||
@if($view === 'list')
|
||||
<div class="entity-list">
|
||||
|
Reference in New Issue
Block a user