issues
search
allyourbot
/
hostedgpt
An open version of ChatGPT you can host anywhere or run locally.
MIT License
192
stars
75
forks
source link
Improve formatting of composer (paste, html, newlines)
#270
Closed
krschacht
closed
1 month ago
krschacht
commented
1 month ago
Fixes #258 and #261
When pasting, if it's a multi-line paste and the cursor is not in the middle of a line then add code blocks around it
When the user has manually inserted newlines into their message, preserve those within paragraphs
When the user includes HTML be sure to escape it
Fixes #258 and #261