mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-11-10 09:03:02 +08:00
Respect whitespace in plain text output (#1841)
This commit is contained in:
parent
58a3d1fa20
commit
a020ea85c5
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ defmodule LivebookWeb.Output do
|
|||
assigns = %{id: id, text: text}
|
||||
|
||||
~H"""
|
||||
<div id={@id} class="text-gray-700"><%= @text %></div>
|
||||
<div id={@id} class="text-gray-700 whitespace-pre-wrap"><%= @text %></div>
|
||||
"""
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue