replicate / llama-chat

A boilerplate for creating a Llama 3 chat app
https://llama3.replicate.dev
Apache License 2.0
828 stars 307 forks source link

Copied text looses all linebreaks #40

Closed grayfallstown closed 1 year ago

grayfallstown commented 1 year ago

Since the text containing div uses flex the text is displayed like it had a linebreak after each span. It looks properly, however, once text is copied it has no linebreaks (as the text in the HTML has none)

This makes copying generated texts, lists, code difficult, as all visible text lines are merged into one mess without linebreaks.

fofr commented 1 year ago

36 fixes this