discourse/plugins/chat/spec/services
Joffrey JAFFEUX dda4bb0f7c
DEV: allows to disable strip_whitespaces in messages (#26848)
The TextCleaner step has been moved from chat message’s validation to create_message/update_message services. It allows us to easily tweak part of its behavior depending on the needs.

For example we will now disable strip_whitespaces by default when streaming messages as we want to keep newlines and spaces at the end of the message.
2024-05-02 11:59:18 +02:00
..
actions DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
auto_remove DEV: Remove full group refreshes from tests (#25414) 2024-01-25 14:28:26 +08:00
chat DEV: allows to disable strip_whitespaces in messages (#26848) 2024-05-02 11:59:18 +02:00
hashtag_autocomplete_service_spec.rb DEV: Chat hashtag test (#25638) 2024-02-12 12:32:52 +10:00