Fork me on GitHub
#untangled
<
2017-01-21
>
sova-soars-the-sora04:01:48

Any idea on how to preserve linebreaks from a (dom/textarea nil "") ?

sova-soars-the-sora04:01:10

dom/textarea to say it plainly

sova-soars-the-sora04:01:53

Oh interesting. The line breaks are being preserved, but not rendered in the preview.

sova-soars-the-sora05:01:57

\n needs to be mapped to <br\> ... there is a good medium writeup about it... <span>{item}<br/><span> ... hmm maybe a regex will do the trick?