mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-23 15:06:44 +01:00
Fix: preserve text linebreaks in doc edit (#7908)
This commit is contained in:
parent
8e61a29137
commit
cb617531bc
2 changed files with 5 additions and 1 deletions
|
|
@ -379,7 +379,7 @@
|
|||
}
|
||||
}
|
||||
@case (ContentRenderType.Text) {
|
||||
<div class="preview-sticky bg-light p-3 overflow-auto" width="100%">{{previewText}}</div>
|
||||
<div class="preview-sticky bg-light p-3 overflow-auto whitespace-preserve" width="100%">{{previewText}}</div>
|
||||
}
|
||||
@case (ContentRenderType.Image) {
|
||||
<div class="preview-sticky">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue