mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
* Fixed #51574 - Added htmlrendertext and implemented it for the voice analyzer * Made a htmlrendertext regex static Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com> * Made a htmlrendertext regex static again Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
This commit is contained in:
co-authored by
Bobbahbrown
parent
2a10831bbd
commit
dd359582d4
@@ -32,6 +32,10 @@
|
||||
if(speaker == src)
|
||||
return
|
||||
|
||||
// raw_message can contain multiple spaces between words etc which are not seen in chat due to HTML rendering
|
||||
// this means if the teller records a message with e.g. double spaces or tabs, other people will not be able to trigger the sensor since they don't know how to perform the same combination
|
||||
raw_message = htmlrendertext(raw_message)
|
||||
|
||||
if(listening && !radio_freq)
|
||||
record_speech(speaker, raw_message, message_language)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user