Make single newlines cause a <br> by default
This should match what people expect from a chat application much better. The biggest reason not to do this, is because some people might paste markdown documents. For those people there is now a /cmark command, which disables most of our extensions to cmark, including the newline behaviour. There is a long discussion on the Fediverse and on Github linked below. Mastodon https://fosstodon.org/@deepbluev7/109771668066978726 fixes #757
Showing
- src/CommandCompleter.cpp 7 additions, 0 deletionssrc/CommandCompleter.cpp
- src/CommandCompleter.h 1 addition, 0 deletionssrc/CommandCompleter.h
- src/UserDirectoryModel.cpp 7 additions, 4 deletionssrc/UserDirectoryModel.cpp
- src/UserDirectoryModel.h 5 additions, 3 deletionssrc/UserDirectoryModel.h
- src/Utils.cpp 16 additions, 7 deletionssrc/Utils.cpp
- src/Utils.h 1 addition, 1 deletionsrc/Utils.h
- src/timeline/InputBar.cpp 10 additions, 0 deletionssrc/timeline/InputBar.cpp
- src/timeline/InputBar.h 1 addition, 0 deletionssrc/timeline/InputBar.h
Loading
Please register or sign in to comment