mirror of
https://github.com/woutdp/live_svelte
synced 2026-05-24 09:28:21 +00:00
Trim whitespace from slot
This commit is contained in:
parent
caf7db6e7a
commit
4e3dd6960c
1 changed files with 1 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ defmodule LiveSvelte do
|
|||
"""
|
||||
|> Phoenix.HTML.Safe.to_iodata()
|
||||
|> List.to_string()
|
||||
|> String.trim()
|
||||
end
|
||||
|
||||
defp ssr_render(name, props, slots \\ nil)
|
||||
|
|
|
|||
Loading…
Reference in a new issue